HandCoded.Validation.Rule.AppliesTo C# (CSharp) Method

AppliesTo() public method

Determines if the Rule applies to a document but evaluating its Precondition.
public AppliesTo ( NodeIndex nodeIndex ) : bool
nodeIndex HandCoded.Xml.NodeIndex The of the document.
return bool
        public bool AppliesTo(NodeIndex nodeIndex)
        {
            return (precondition.Evaluate (nodeIndex, new Dictionary<Precondition,bool> ()));
        }