Esempio n. 1
0
 /// <summary>
 /// To restrict the type, it must be one of the given types (equal, or a derived class).
 /// </summary>
 /// <typeparam name="T1"></typeparam>
 /// <typeparam name="T2"></typeparam>
 /// <typeparam name="T3"></typeparam>
 /// <typeparam name="T4"></typeparam>
 /// <typeparam name="T5"></typeparam>
 /// <typeparam name="T6"></typeparam>
 /// <typeparam name="T7"></typeparam>
 /// <typeparam name="T8"></typeparam>
 /// <typeparam name="T9"></typeparam>
 /// <typeparam name="T10"></typeparam>
 /// <typeparam name="T11"></typeparam>
 /// <typeparam name="T12"></typeparam>
 /// <typeparam name="T13"></typeparam>
 /// <typeparam name="T14"></typeparam>
 /// <typeparam name="T15"></typeparam>
 /// <typeparam name="T16"></typeparam>
 /// <returns></returns>
 public new IPredicateValidationRegistrar <T, TVal> RequiredTypes <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>()
 {
     ValueRuleBuilder.RequiredTypes <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>();
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// To restrict the type, it must be one of the given types (equal, or a derived class).
 /// </summary>
 /// <typeparam name="T1"></typeparam>
 /// <typeparam name="T2"></typeparam>
 /// <typeparam name="T3"></typeparam>
 /// <typeparam name="T4"></typeparam>
 /// <typeparam name="T5"></typeparam>
 /// <typeparam name="T6"></typeparam>
 /// <returns></returns>
 public new IPredicateValidationRegistrar <T, TVal> RequiredTypes <T1, T2, T3, T4, T5, T6>()
 {
     ValueRuleBuilder.RequiredTypes <T1, T2, T3, T4, T5, T6>();
     return(this);
 }