예제 #1
0
    // Token: 0x06000B47 RID: 2887 RVA: 0x0003ADE8 File Offset: 0x00038FE8
    public void method_4(Class137 class137_1, int int_0, JsonSchema jsonSchema_0)
    {
        Class137 class137_2 = (class137_1.method_4().Count > int_0) ? class137_1.method_4()[int_0] : null;
        Class137 @class     = this.method_1(class137_2, jsonSchema_0);

        if (class137_1.method_4().Count <= int_0)
        {
            class137_1.method_4().Add(@class);
            return;
        }
        class137_1.method_4()[int_0] = @class;
    }
예제 #2
0
 // Token: 0x06000B56 RID: 2902 RVA: 0x0003B058 File Offset: 0x00039258
 private Class137(Class137 class137_2, JsonSchema jsonSchema_0)
 {
     Class202.ofdixO4zTbIfy();
     base..ctor();
     this.readOnlyCollection_0 = new ReadOnlyCollection <JsonSchema>(class137_2.method_1().Union(new JsonSchema[]
     {
         jsonSchema_0
     }).ToList <JsonSchema>());
     this.dictionary_0 = new Dictionary <string, Class137>(class137_2.method_2());
     this.dictionary_1 = new Dictionary <string, Class137>(class137_2.method_3());
     this.list_0       = new List <Class137>(class137_2.method_4());
     this.method_6(class137_2.method_5());
     this.method_8(class137_2.method_7());
     this.string_0 = Class137.smethod_0(this.method_1());
 }
예제 #3
0
    // Token: 0x06000B4A RID: 2890 RVA: 0x0003AE44 File Offset: 0x00039044
    private Class135 method_7(Class137 class137_1)
    {
        Class135 @class;

        if (this.dictionary_0.TryGetValue(class137_1, out @class))
        {
            return(@class);
        }
        @class = Class135.Create(class137_1.method_1());
        this.dictionary_0[class137_1] = @class;
        foreach (KeyValuePair <string, Class137> keyValuePair in class137_1.method_2())
        {
            if (@class.method_24() == null)
            {
                @class.method_25(new Dictionary <string, Class135>());
            }
            @class.method_24()[keyValuePair.Key] = this.method_7(keyValuePair.Value);
        }
        foreach (KeyValuePair <string, Class137> keyValuePair2 in class137_1.method_3())
        {
            if (@class.method_26() == null)
            {
                @class.method_27(new Dictionary <string, Class135>());
            }
            @class.method_26()[keyValuePair2.Key] = this.method_7(keyValuePair2.Value);
        }
        foreach (Class137 class137_2 in class137_1.method_4())
        {
            if (@class.method_22() == null)
            {
                @class.method_23(new List <Class135>());
            }
            @class.method_22().Add(this.method_7(class137_2));
        }
        if (class137_1.method_5() != null)
        {
            @class.method_29(this.method_7(class137_1.method_5()));
        }
        if (class137_1.method_7() != null)
        {
            @class.method_31(this.method_7(class137_1.method_7()));
        }
        return(@class);
    }