Example #1
0
 public static ParameterTypeValidation OrNot <T>(this ParameterTypeValidation result)
 {
     return(result.OrNot(typeof(T)));
 }
Example #2
0
 public static ParameterTypeValidation OrNot(this ParameterTypeValidation result, Type targetType)
 {
     return(result ? result : new ParameterTypeValidation(result.ParameterType != targetType, result.ParameterType));
 }