Esempio n. 1
0
        // Token: 0x06000C03 RID: 3075 RVA: 0x00042F80 File Offset: 0x00041180
        public virtual void smethod_2160(Class_296 arg_0, object obje_0, Class_418 arg_1)
        {
            Class_441 class_ = arg_1.prop_14 as Class_441;
            Type      type   = obje_0.GetType();
            Class_489 <object, object> getUnionFields = Class_484.GetUnionFields;
            object target = null;

            object[] array = new object[3];
            array[0] = obje_0;
            array[1] = type;
            object arg  = getUnionFields(target, array);
            object arg2 = Class_484.GetUnionCaseInfo(arg);
            object obj  = Class_484.GetUnionCaseFields(arg);
            object obj2 = Class_484.GetUnionCaseInfoName(arg2);

            object[] array2 = obj as object[];
            arg_0.kmethod_2007();
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Case") : "Case");
            arg_0.kmethod_2037((string)obj2);
            if (array2 != null && array2.Length > 0)
            {
                arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Fields") : "Fields");
                arg_1.kmethod_3177(arg_0, obj);
            }
            arg_0.lmethod_2008();
        }
Esempio n. 2
0
        // Token: 0x06000C08 RID: 3080 RVA: 0x00043390 File Offset: 0x00041590
        public virtual void cmethod_2164(Class_296 arg_0, object obje_0, Class_418 arg_1)
        {
            Class_306.lmethod_2168(obje_0.GetType());
            Class_441 class_ = arg_1.prop_14 as Class_441;
            string    str_   = (string)Class_306.field_4.tmethod_4062(obje_0, "Key");
            object    obj    = Class_306.field_4.tmethod_4062(obje_0, "Value");
            Type      type   = (obj != null) ? obj.GetType() : null;

            arg_0.kmethod_2007();
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Key") : "Key");
            arg_0.kmethod_2037(str_);
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Type") : "Type");
            arg_0.kmethod_2037((type != null) ? type.FullName : null);
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Value") : "Value");
            if (type != null)
            {
                string str_2;
                if (Class_467.gmethod_3913(obj, type, out str_2))
                {
                    arg_0.kmethod_2037(str_2);
                }
                else
                {
                    arg_0.cmethod_2074(obj);
                }
            }
            else
            {
                arg_0.gmethod_2033();
            }
            arg_0.lmethod_2008();
        }
Esempio n. 3
0
        // Token: 0x06000C25 RID: 3109 RVA: 0x00043BDC File Offset: 0x00041DDC
        private void lmethod_2188(Class_296 arg_0, Regex arg_1, Class_418 arg_2)
        {
            Class_441 class_ = arg_2.prop_14 as Class_441;

            arg_0.kmethod_2007();
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Pattern") : "Pattern");
            arg_0.kmethod_2037(arg_1.ToString());
            arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590("Options") : "Options");
            arg_2.kmethod_3177(arg_0, arg_1.Options);
            arg_0.lmethod_2008();
        }
Esempio n. 4
0
        // Token: 0x06000C18 RID: 3096 RVA: 0x0004381C File Offset: 0x00041A1C
        public virtual void lmethod_2178(Class_296 arg_0, object obje_0, Class_418 arg_1)
        {
            Class_491 class_  = Class_308.field_2.Get(obje_0.GetType());
            Class_441 class_2 = arg_1.prop_14 as Class_441;

            arg_0.kmethod_2007();
            arg_0.gmethod_2013((class_2 != null) ? class_2.smethod_3590("Key") : "Key");
            arg_1.vmethod_3175(arg_0, class_.tmethod_4062(obje_0, "Key"), class_.cmethod_4064("Key"));
            arg_0.gmethod_2013((class_2 != null) ? class_2.smethod_3590("Value") : "Value");
            arg_1.vmethod_3175(arg_0, class_.tmethod_4062(obje_0, "Value"), class_.cmethod_4064("Value"));
            arg_0.lmethod_2008();
        }
Esempio n. 5
0
        // Token: 0x06000BEF RID: 3055 RVA: 0x000428A4 File Offset: 0x00040AA4
        public virtual void cmethod_2144(Class_296 arg_0, object obje_0, Class_418 arg_1)
        {
            DataSet   dataSet = (DataSet)obje_0;
            Class_441 class_  = arg_1.prop_14 as Class_441;
            Class_302 class_2 = new Class_302();

            arg_0.kmethod_2007();
            foreach (object obj in dataSet.Tables)
            {
                DataTable dataTable = (DataTable)obj;
                arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590(dataTable.TableName) : dataTable.TableName);
                class_2.tmethod_2132(arg_0, dataTable, arg_1);
            }
            arg_0.lmethod_2008();
        }
Esempio n. 6
0
        // Token: 0x06000BF4 RID: 3060 RVA: 0x00042A2C File Offset: 0x00040C2C
        public virtual void lmethod_2148(Class_296 arg_0, object obje_0, Class_418 arg_1)
        {
            DataTable dataTable = (DataTable)obje_0;
            Class_441 class_    = arg_1.prop_14 as Class_441;

            arg_0.pmethod_2009();
            foreach (object obj in dataTable.Rows)
            {
                DataRow dataRow = (DataRow)obj;
                arg_0.kmethod_2007();
                foreach (object obj2 in dataRow.Table.Columns)
                {
                    DataColumn dataColumn = (DataColumn)obj2;
                    if (arg_1.prop_8 != Class_457.Ignore || (dataRow[dataColumn] != null && dataRow[dataColumn] != DBNull.Value))
                    {
                        arg_0.gmethod_2013((class_ != null) ? class_.smethod_3590(dataColumn.ColumnName) : dataColumn.ColumnName);
                        arg_1.kmethod_3177(arg_0, dataRow[dataColumn]);
                    }
                }
                arg_0.lmethod_2008();
            }
            arg_0.smethod_2010();
        }
Esempio n. 7
0
        // Token: 0x0600118B RID: 4491 RVA: 0x000568E4 File Offset: 0x00054AE4
        private void tmethod_3172(Class_285 arg_0, out CultureInfo arg_1, out Class_321?arg_2, out Class_320?arg_3, out Class_315?arg_4, out int?arg_5, out string arg_6)
        {
            if (this.field_23 != null && !this.field_23.Equals(arg_0.prop_14))
            {
                arg_1         = arg_0.prop_14;
                arg_0.prop_14 = this.field_23;
            }
            else
            {
                arg_1 = null;
            }
            if (this.field_18 != null && arg_0.prop_4 != this.field_18)
            {
                arg_2        = new Class_321?(arg_0.prop_4);
                arg_0.prop_4 = this.field_18.Value;
            }
            else
            {
                arg_2 = null;
            }
            if (this.field_19 != null && arg_0.prop_5 != this.field_19)
            {
                arg_3        = new Class_320?(arg_0.prop_5);
                arg_0.prop_5 = this.field_19.Value;
            }
            else
            {
                arg_3 = null;
            }
            if (this.field_21 != null && arg_0.prop_6 != this.field_21)
            {
                arg_4        = new Class_315?(arg_0.prop_6);
                arg_0.prop_6 = this.field_21.Value;
            }
            else
            {
                arg_4 = null;
            }
            if (this.field_25 && arg_0.prop_8 != this.field_24)
            {
                arg_5        = arg_0.prop_8;
                arg_0.prop_8 = this.field_24;
            }
            else
            {
                arg_5 = null;
            }
            if (this.field_28 && arg_0.prop_7 != this.field_27)
            {
                arg_6        = arg_0.prop_7;
                arg_0.prop_7 = this.field_27;
            }
            else
            {
                arg_6 = null;
            }
            Class_409 class_ = arg_0 as Class_409;

            if (class_ != null)
            {
                Class_441 class_2 = this.field_11 as Class_441;
                if (class_2 != null)
                {
                    class_.field_11 = class_2.gmethod_3553().field_1;
                }
            }
        }