Exemplo n.º 1
0
 // Token: 0x0600131A RID: 4890 RVA: 0x0005AD60 File Offset: 0x00058F60
 public static void Validate(this Class_361 source, Class_459 schema, Class_439 validationEventHandler)
 {
     Class_517.ArgumentNotNull(source, "source");
     Class_517.ArgumentNotNull(schema, "schema");
     using (Class_381 class_ = new Class_381(source.lmethod_2558()))
     {
         class_.prop_8 = schema;
         if (validationEventHandler != null)
         {
             class_.ValidationEventHandler += validationEventHandler;
         }
         while (class_.vmethod_1885())
         {
         }
     }
 }
Exemplo n.º 2
0
        // Token: 0x06000A21 RID: 2593 RVA: 0x0003D38C File Offset: 0x0003B58C
        public virtual object vmethod_1775(Class_285 arg_0, Type arg_1, object obje_0, Class_418 arg_2)
        {
            if (arg_0.prop_9 == Class_508.Null)
            {
                return(null);
            }
            Class_361 class_  = Class_423.pmethod_3309(arg_0);
            Class_262 class_2 = new Class_262(this.field_0);
            Class_285 class_3 = class_.lmethod_2558();

            class_3.prop_14 = arg_0.prop_14;
            class_3.prop_7  = arg_0.prop_7;
            class_3.prop_5  = arg_0.prop_5;
            class_3.prop_4  = arg_0.prop_4;
            class_3.prop_6  = arg_0.prop_6;
            class_3.prop_8  = arg_0.prop_8;
            class_3.prop_2  = arg_0.prop_2;
            arg_2.vmethod_3165(class_3, class_2);
            return(class_2);
        }