internal Class479(Interface15 A_0, BinaryReader A_1)
    {
        Stream input = new MemoryStream();

        input.SetLength(0x400L);
        this.binaryReader_0 = new BinaryReader(input);
        this.interface15_0  = A_0;
        this.binaryReader_1 = A_1;
    }
Exemple #2
0
    protected void method_53(Interface15 A_0, BinaryReader A_1, int A_2, TableStylePrType A_3)
    {
        ConditionalFormattingCode code = this.method_0((Cnfc)A_1.ReadInt16());

        this.bool_0 = true;
        WordAttrCollection attrs = this.wordAttrCollection_0;

        this.wordAttrCollection_0 = this.class13_0.method_27(code, A_3);
        new Class479(A_0, A_1).method_1(A_1.ReadBytes(A_2 - 2));
        this.wordAttrCollection_0 = attrs;
        this.bool_0 = false;
    }
Exemple #3
0
        private void method_26(JsonWriter jsonWriter_0, IEnumerable ienumerable_0, JsonArrayContract jsonArrayContract_0, JsonProperty jsonProperty_0, JsonContainerContract jsonContainerContract_0, JsonProperty jsonProperty_1)
        {
            Interface15 interface2 = ienumerable_0 as Interface15;
            object      obj2       = (interface2 != null) ? interface2.Object_0 : ienumerable_0;

            this.method_15(jsonWriter_0, jsonArrayContract_0, obj2);
            this.list_0.Add(obj2);
            bool flag = this.method_29(jsonWriter_0, obj2, jsonArrayContract_0, jsonProperty_0, jsonContainerContract_0, jsonProperty_1);

            jsonWriter_0.WriteStartArray();
            int top  = jsonWriter_0.Top;
            int num2 = 0;

            foreach (object obj3 in ienumerable_0)
            {
                try
                {
                    JsonContract contract = jsonArrayContract_0.JsonContract_1 ?? this.method_5(obj3);
                    if (this.method_9(obj3, null, contract, jsonArrayContract_0, jsonProperty_0))
                    {
                        this.method_12(jsonWriter_0, obj3);
                    }
                    else if (this.method_11(jsonWriter_0, obj3, null, contract, jsonArrayContract_0, jsonProperty_0))
                    {
                        this.method_7(jsonWriter_0, obj3, contract, null, jsonArrayContract_0, jsonProperty_0);
                    }
                }
                catch (Exception exception)
                {
                    if (!base.method_2(obj2, jsonArrayContract_0, num2, null, jsonWriter_0.String_0, exception))
                    {
                        throw;
                    }
                    this.method_36(jsonWriter_0, top);
                }
                finally
                {
                    num2++;
                }
            }
            jsonWriter_0.WriteEndArray();
            if (flag)
            {
                jsonWriter_0.WriteEndObject();
            }
            this.list_0.RemoveAt(this.list_0.Count - 1);
            this.method_16(jsonWriter_0, jsonArrayContract_0, obj2);
        }
Exemple #4
0
 // Token: 0x06002F9D RID: 12189
 // RVA: 0x00133E2C File Offset: 0x0013202C
 internal static void smethod_11(Interface15 interface15_0)
 {
     Class800.smethod_12(interface15_0.Position);
     if (interface15_0.imethod_1().HasValue)
     {
         Class800.smethod_2(interface15_0.imethod_1().Value);
     }
     if (interface15_0.imethod_2().HasValue)
     {
         Class800.smethod_4(interface15_0.imethod_2().Value);
     }
     if (interface15_0.imethod_3().HasValue)
     {
         Class800.smethod_6(interface15_0.imethod_3().Value);
     }
     if (interface15_0.imethod_4().HasValue)
     {
         Class800.smethod_8(interface15_0.imethod_4().Value);
     }
     if (interface15_0.imethod_5().HasValue)
     {
         Class800.smethod_10(interface15_0.imethod_5().Value);
     }
 }