Ejemplo n.º 1
0
 public static BFContext ValidateMinLength(this BFContext context, JObject jobj, string path, int minLength, string message)
 {
     return(context.ValidateString(jobj, path, s => String.IsNullOrEmpty(s) || s.Length < minLength ? message : null));
 }