public static ValidationResult <IReadOnlyDictionary <TKey, TValue> > IsNullOrEmpty <TKey, TValue>(this ValidationTarget <IReadOnlyDictionary <TKey, TValue> > target, String targetParameterName) => target.RejectIfIsNullOrEmpty <IReadOnlyDictionary <TKey, TValue>, KeyValuePair <TKey, TValue> >(targetParameterName);
示例#2
0
 public static ValidationResult <IEnumerable <T> > IsNullOrEmpty <T>(this ValidationTarget <IEnumerable <T> > target, String targetParameterName) => target.RejectIfIsNullOrEmpty <IEnumerable <T>, T>(targetParameterName);
 public static ValidationResult <IReadOnlyList <T> > IsNullOrEmpty <T>(this ValidationTarget <IReadOnlyList <T> > target, String targetParameterName) => target.RejectIfIsNullOrEmpty <IReadOnlyList <T>, T>(targetParameterName);
示例#4
0
 public static ValidationResult <T[]> IsNullOrEmpty <T>(this ValidationTarget <T[]> target, String targetParameterName) => target.RejectIfIsNullOrEmpty <T[], T>(targetParameterName);