Esempio n. 1
0
        public IRuleDefinition <T> ExclusiveRule(string ruleId)
        {
            Guard.NotDefault(ruleId, "ruleId");
            Guid id = Guid.Parse(ruleId);

            CurrentRule.AddExclusionRule(id);
            return(this);
        }
Esempio n. 2
0
 public IRuleDefinition <T> ExclusiveRule(Guid ruleId)
 {
     Guard.NotDefault(ruleId, "ruleId");
     CurrentRule.AddExclusionRule(ruleId);
     return(this);
 }