예제 #1
0
 public static Validation <Error, long> ValidateDeleteDocuments(long val)
 => from x in ValidateMaxValue(1)(val)
 from y in ValidateMinValue(0)(val)
 select y;
예제 #2
0
 public static Validation <Error, long> ValidateConfigSystem(long val)
 => from x in ValidateMaxValue(1)(val)
 from y in ValidateMinValue(0)(val)
 select y;