Example #1
0
 [DebuggerHidden, DebuggerStepThrough]   // ReSharper disable once InconsistentNaming
 public static IValidationDef <T> AndThat <_, T>(this IValidationDef <_> __, Expression <Func <T> > expr) => ValidationDef <T> .Create(expr);
Example #2
0
 public static IValidationDef <T> That <T>(T value, string namedAs) => ValidationDef <T> .Create(value, namedAs);
Example #3
0
 [DebuggerHidden, DebuggerStepThrough]   // ReSharper disable once InconsistentNaming
 public static IValidationDef <T> AndThat <_, T>(this IValidationDef <_> __, T value, string namedAs) => ValidationDef <T> .Create(value, namedAs);
Example #4
0
 public static IValidationDef <T> That <T>(Expression <Func <T> > expr) => ValidationDef <T> .Create(expr);