public static IRuleOut <IReadOnlyCollection <TItem> > MaxCollectionSize <TItem>(this IRuleIn <IReadOnlyCollection <TItem> > @this, int max)
 {
     return(@this.MaxCollectionSize <IReadOnlyCollection <TItem>, TItem>(max));
 }
Example #2
0
 public static IRuleOut <List <TItem> > MaxCollectionSize <TItem>(this IRuleIn <List <TItem> > @this, int max)
 {
     return(@this.MaxCollectionSize <List <TItem>, TItem>(max));
 }
Example #3
0
 public static IRuleOut <IEnumerable <TItem> > MaxCollectionSize <TItem>(this IRuleIn <IEnumerable <TItem> > @this, int max)
 {
     return(@this.MaxCollectionSize <IEnumerable <TItem>, TItem>(max));
 }