コード例 #1
0
 internal void method_6()
 {
     if (this.method_0() != 0)
     {
         Class228[] classArray = new Class228[30];
         using (IEnumerator enumerator = this.System.Collections.IEnumerable.GetEnumerator())
         {
             while (enumerator.MoveNext())
             {
                 Class228 current = (Class228)enumerator.Current;
                 if (current.method_12() != OdsoFieldMappingType.Null)
                 {
                     PredefinedMergeFieldName name = Class533.smethod_10(current.method_8());
                     if (name != PredefinedMergeFieldName.Invalid)
                     {
                         classArray[(int)name] = current;
                     }
                 }
             }
         }
         for (int i = 0; i < classArray.Length; i++)
         {
             if (classArray[i] == null)
             {
                 classArray[i] = new Class228();
             }
         }
         this.method_4();
         foreach (Class228 class3 in classArray)
         {
             this.method_3(class3);
         }
     }
 }
コード例 #2
0
    private void method_1()
    {
        Class398 class2 = this.interface52_0.imethod_1();

        class2.method_4(BookmarkStart.b("䜯࠱嬳刵䬷唹", 10));
        Class1035 class3 = this.class460_0.method_29();

        class2.method_24(BookmarkStart.b("䜯࠱䄳刵吷", 10), class3.method_11());
        class2.method_24(BookmarkStart.b("䜯࠱䀳圵娷嘹夻", 10), class3.method_7());
        this.vmethod_2(class3.method_5());
        int num = class3.method_1();

        class2.method_32(BookmarkStart.b("䜯࠱圳夵吷縹夻刽⤿⽁", 10), num, 0);
        this.vmethod_4(class3);
        using (IEnumerator enumerator = class3.method_13().System.Collections.IEnumerable.GetEnumerator())
        {
            while (enumerator.MoveNext())
            {
                Class228 current = (Class228)enumerator.Current;
                this.method_2(current, class2);
            }
        }
        this.vmethod_3(class3);
        class2.method_5();
    }
コード例 #3
0
ファイル: Hotkeys.cs プロジェクト: wangzhaoming/HearthBuddy
        public static void Unregister(string name)
        {
            Class228 class2 = new Class228 {
                string_0 = name
            };

            Unregister(list_0.FirstOrDefault <Hotkey>(new Func <Hotkey, bool>(class2.method_0)));
        }
コード例 #4
0
 private void method_6(Class228 A_0)
 {
     switch (A_0.method_12())
     {
     case OdsoFieldMappingType.Column:
         this.method_14(1, 1);
         this.method_13(2, A_0.method_10());
         this.method_13(3, A_0.method_8());
         this.method_14(4, A_0.method_1());
         this.method_18();
         return;
     }
     this.method_18();
 }
コード例 #5
0
    private void method_2(Class228 A_0, Class398 A_1)
    {
        int num = 7;

        A_1.method_4(BookmarkStart.b("娬ᔮ地娲倴嬶崸瘺尼伾Հ≂ㅄ♆", 7));
        A_1.method_24(BookmarkStart.b("娬ᔮ䔰䨲䔴制", 7), Class533.smethod_9(A_0.method_12(), this.interface52_0.imethod_2()));
        A_1.method_24(BookmarkStart.b("娬ᔮ弰刲場制", 7), A_0.method_10());
        A_1.method_24(BookmarkStart.b("娬ᔮ尰刲䔴䜶尸强猼帾ⱀ♂", 7), A_0.method_8());
        if (!this.interface52_0.imethod_2() || Class567.smethod_16(A_0.method_10()))
        {
            A_1.method_28(BookmarkStart.b("娬ᔮ到尲头䈶吸唺", num), A_0.method_1());
        }
        A_1.method_24(BookmarkStart.b("娬ᔮ崰娲儴", num), Class860.smethod_1((int)A_0.method_6(), this.interface52_0.imethod_2()));
        A_1.method_31(BookmarkStart.b("娬ᔮ唰䨲嬴嘶吸刺帼績╀❂㝄≆㩈㡊", num), A_0.method_4());
        A_1.method_5();
    }
コード例 #6
0
    private void method_7(int A_0)
    {
        int      num4;
        int      num    = 6;
        Class228 class2 = new Class228();

Label_005D:
        num4 = this.binaryReader_0.ReadInt16();
        int num2 = this.binaryReader_0.ReadInt16();

        switch (num4)
        {
        case 0:
            if (Class567.smethod_16(class2.method_10()))
            {
                class2.method_13(OdsoFieldMappingType.Column);
            }
            this.class460_0.method_29().method_13().method_3(class2);
            return;

        case 1:
            if (this.method_9(num2) != 1)
            {
                throw new InvalidOperationException(BookmarkStart.b("含嘭䠯", num));
            }
            goto Label_005D;

        case 2:
            class2.method_11(this.method_8(num2));
            goto Label_005D;

        case 3:
            this.method_8(num2);
            class2.method_9(Class533.smethod_11((PredefinedMergeFieldName)A_0));
            goto Label_005D;

        case 4:
            class2.method_3(this.method_9(num2));
            goto Label_005D;
        }
        this.binaryReader_0.ReadBytes(num2);
        goto Label_005D;
    }
コード例 #7
0
    private void method_5()
    {
        Class1034 class2 = this.class460_0.method_29().method_13();

        if (class2.method_0() != 0)
        {
            int num      = this.method_8(OpenOfficePropertyId.FieldMapInfo);
            int position = (int)this.binaryWriter_0.BaseStream.Position;
            int num3     = this.method_10(class2.method_0());
            int num4     = (int)this.binaryWriter_0.BaseStream.Position;
            using (IEnumerator enumerator = class2.System.Collections.IEnumerable.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    Class228 current = (Class228)enumerator.Current;
                    this.method_6(current);
                }
            }
            this.method_12(num, position);
            this.method_12(num3, num4);
        }
    }
コード例 #8
0
 public int method_3(Class228 A_0)
 {
     Class567.smethod_20(A_0, BookmarkStart.b("堭儯帱䄳匵", 8));
     return(this.arrayList_0.Add(A_0));
 }
コード例 #9
0
 internal void method_2(int A_0, Class228 A_1)
 {
     Class567.smethod_20(A_1, BookmarkStart.b("央倰弲䀴制", 9));
     this.arrayList_0[A_0] = A_1;
 }
コード例 #10
0
 public abstract void Visit(Class228 c);
コード例 #11
0
 public override void Visit(Class228 c) { }