public ValidationRule(IValidationTarget <TType> target)
        {
            target.ThrowIfNull();

            m_target     = target;
            m_conditions = new ConcurrentList <Predicate <TType> >();
            m_predicates = new ValidationPredicateSet <TType>(this);
        }
Exemplo n.º 2
0
        public ValidationRuleSet(IValidationTarget <TType> target)
        {
            target.ThrowIfNull();

            m_target = target;
        }