Пример #1
0
 [DebuggerHidden, DebuggerStepThrough]   // ReSharper disable once InconsistentNaming
 public static IValidationDef <T> AndThat <_, T>(this IValidationDef <_> __, Expression <Func <T> > expr) => ValidationDef <T> .Create(expr);
Пример #2
0
 public static IValidationDef <T> That <T>(T value, string namedAs) => ValidationDef <T> .Create(value, namedAs);
Пример #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);
Пример #4
0
 public static IValidationDef <T> That <T>(Expression <Func <T> > expr) => ValidationDef <T> .Create(expr);