public TGivenRuleTypeConjunction AreNot(IEnumerable <Type> types) { _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .AreNot(types)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction AreNot(IEnumerable <Type> types) { _ruleCreator.ContinueComplexCondition(TypePredicatesDefinition <TReferenceType> .AreNot(types)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
//Negations public TGivenRuleTypeConjunction AreNot(Type firstType, params Type[] moreTypes) { _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .AreNot(firstType, moreTypes)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
//Negations public TRuleTypeShouldConjunction AreNot(Type firstType, params Type[] moreTypes) { _ruleCreator.ContinueComplexCondition( TypePredicatesDefinition <TReferenceType> .AreNot(firstType, moreTypes)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }