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

Rule() protected method

Constructs a Rule with the given name and that applies in the circumstances defines by its Precondition.
protected Rule ( Precondition precondition, string name ) : System
precondition Precondition A instance.
name string The unique name for the rule.
return System
        protected Rule(Precondition precondition, string name)
        {
            this.precondition = precondition;
            this.name		  = name;

            extent [name] = this;
        }

Same methods

Rule::Rule ( string name ) : System