Exemplo n.º 1
0
        // Token: 0x06001317 RID: 4887 RVA: 0x0005ACDC File Offset: 0x00058EDC
        public static bool IsValid(this Class_361 source, Class_459 schema)
        {
            bool valid = true;

            source.Validate(schema, delegate(object sender, Class_438 args)
            {
                valid = false;
            });
            return(valid);
        }
Exemplo n.º 2
0
        // Token: 0x06001318 RID: 4888 RVA: 0x0005AD10 File Offset: 0x00058F10
        public static bool IsValid(this Class_361 source, Class_459 schema, out IList <string> errorMessages)
        {
            IList <string> errors = new List <string>();

            source.Validate(schema, delegate(object sender, Class_438 args)
            {
                errors.Add(args.prop_2);
            });
            errorMessages = errors;
            return(errorMessages.Count == 0);
        }
Exemplo n.º 3
0
 // Token: 0x06001319 RID: 4889 RVA: 0x0005AD53 File Offset: 0x00058F53
 public static void Validate(this Class_361 source, Class_459 schema)
 {
     source.Validate(schema, null);
 }