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