Ejemplo n.º 1
0
 public TGivenRuleTypeConjunction Are(IEnumerable <Type> types)
 {
     _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .Are(types));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction Are(IEnumerable <Type> types)
 {
     _ruleCreator.ContinueComplexCondition(TypePredicatesDefinition <TReferenceType> .Are(types));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Ejemplo n.º 3
0
 public TGivenRuleTypeConjunction Are(Type firstType, params Type[] moreTypes)
 {
     _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .Are(firstType, moreTypes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction Are(Type firstType, params Type[] moreTypes)
 {
     _ruleCreator.ContinueComplexCondition(TypePredicatesDefinition <TReferenceType> .Are(firstType, moreTypes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }