public IRuleDefinition <T> ExclusiveRule(string ruleId) { Guard.NotDefault(ruleId, "ruleId"); Guid id = Guid.Parse(ruleId); CurrentRule.AddExclusionRule(id); return(this); }
public IRuleDefinition <T> ExclusiveRule(Guid ruleId) { Guard.NotDefault(ruleId, "ruleId"); CurrentRule.AddExclusionRule(ruleId); return(this); }