Ejemplo n.º 1
0
 public static IGetRule <ICompareValues> Create(
     IGetProperlyRule ruleForCollectionTypes,
     IGetProperlyRule ruleForReferenceTypes,
     IGetProperlyRule ruleForValuesTypes
     )
 {
     return(new CollectionTypeChained(ruleForCollectionTypes,
                                      new ReferenceTypeChained(ruleForReferenceTypes,
                                                               new StructTypeChained(ruleForValuesTypes,
                                                                                     new NotSatisfiedRule()))));
 }
Ejemplo n.º 2
0
 protected ChainedRule(IGetProperlyRule rule, IGetProperlyRule next)
 {
     Rule = rule;
     Next = next;
 }
Ejemplo n.º 3
0
 public ReferenceTypeChained(IGetProperlyRule rule, IGetRule <ICompareValues> next) : base(next)
 {
     Rule = rule;
 }
Ejemplo n.º 4
0
 public CollectionTypeChained(IGetProperlyRule rule, IGetProperlyRule next) : base(rule, next)
 {
 }
 public CollectionTypeChained(IGetProperlyRule rule, IGetRule <ICompareValues> next) : base(rule, next)
 {
     Rule = rule;
 }
 public ReferenceTypeChained(IGetProperlyRule rule, IGetProperlyRule next) : base(rule, next)
 {
 }
Ejemplo n.º 7
0
 public StructTypeChained(IGetProperlyRule rule, IGetProperlyRule next) : base(rule, next)
 {
 }
 public StructTypeChained(IGetProperlyRule rule, IGetRule <ICompareValues> next) : base(next)
 {
     Rule = rule;
 }