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