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