예제 #1
0
        public void test5()
        {
            var class5 = new Class5();
            var duplicate = class5.Duplicate();

            AssertNotNull(duplicate);
        }
예제 #2
0
 private void method_22(Class5 A_0, MathObjectType A_1)
 {
     foreach (Class5 class2 in A_0.ChildObjects)
     {
         if (class2.method_32().vmethod_1() == A_1)
         {
             class2.Accept(this.class422_0);
         }
     }
 }
예제 #3
0
 private void method_21(Class5 A_0)
 {
     foreach (Class5 class2 in A_0.GetChildElements(DocumentObjectType.OfficeMath, false))
     {
         if (class2.method_32().vmethod_1() == MathObjectType.Argument)
         {
             this.method_19(class2);
         }
     }
 }
        public void OptionalParamsMethod3()
        {
            var cl5  = new Class5();
            var wcl5 = cl5.Wrap <IClass5>();

            wcl5.OptionalParamsMethod3();
            Assert.AreEqual("hello", cl5.String);
            wcl5.OptionalParamsMethod3("world");
            Assert.AreEqual("world", cl5.String);
        }
예제 #5
0
    internal Class1136(Class422 A_0, Class5 A_1)
    {
        this.class422_0 = A_0;
        string str = A_1.method_38();

        this.class400_0 = A_0.method_3(string.Format(BookmarkStart.b("圫ḭ䴯ᴱ圳夵嘷丹夻倽㐿汁㱃⭅⑇", 6), str));
        this.class422_0.method_59().Add(new Class979(BookmarkStart.b("堫䬭䠯䘱ᬳ丵唷嘹", 6), string.Format(BookmarkStart.b("圫ḭ䴯ᴱ", 6), str), BookmarkStart.b("伫䄭帯䘱儳堵䰷ᐹ䐻匽ⰿ", 6)));
        this.class400_0.method_2(BookmarkStart.b("䄫䌭尯࠱夳圵䰷刹", 6));
        this.class400_0.method_18(BookmarkStart.b("含䌭尯就䜳వ唷圹倻", 6), BookmarkStart.b("䐫娭䐯䈱ำᤵ᜷䴹䬻䤽渿㕁睃桅❇㡉⭋慍慏歑浓湕睗᝙㵛⩝࡟䵡⥣ݥᱧɩⅫ≭", 6));
        this.class400_0.method_18(BookmarkStart.b("含䌭尯就䜳వ唷", 6), BookmarkStart.b("䐫娭䐯䈱ำᤵ᜷䤹弻嘽┿⽁╃㕅晇╉㱋⭍㹏⩑㥓㩕㹗㕙⹛㍝şᙡᝣ䡥ݧᡩ୫䅭Ὧᑱታή᭷ό㡻ᅽﺉꎋ벍ꂏꊑꊓ릕ﮙ", 6));
    }
예제 #6
0
        public int EndInflate()
        {
            if (this.class5_0 == null)
            {
                throw new ZlibException("No Inflate State!");
            }
            int result = this.class5_0.method_0();

            this.class5_0 = null;
            return(result);
        }
예제 #7
0
 private void method_19(Class5 A_0, int A_1)
 {
     if (this.class396_0.method_3().Length == 1)
     {
         A_0.method_32().SetAttr(A_1, this.class396_0.method_3()[0]);
     }
     if (this.class396_0.method_3() == "")
     {
         A_0.method_32().SetAttr(A_1, '\0');
     }
 }
예제 #8
0
 public static void Gan(int _id, byte[] chat)
 {
     Server.SendToAllClientMapid(_id, string.Concat(new string[]
     {
         DataStructure.Packet._Header,
         Class5.smethod_11(checked (6 + chat.Length)),
         "0202",
         Class5.smethod_12(_id),
         Class5.smethod_3(chat)
     }));
 }
예제 #9
0
 private void chlsbCommands_ItemCheck(object sender, ItemCheckEventArgs e)
 {
     if (this.bool_0)
     {
         Class5 class2 = this.chlsbCommands.Items[e.Index] as Class5;
         if (class2 != null)
         {
             class2.ToolStripItem.Visible = !class2.ToolStripItem.Visible;
         }
     }
 }
예제 #10
0
 private static List <Class2> smethod_2(string string_0)
 {
     if (!File.Exists(string_0))
     {
         return((List <Class2>)null);
     }
     try
     {
         string str = Path.GetTempPath() + "/" + Class4.smethod_2() + ".fv";
         if (File.Exists(str))
         {
             File.Delete(str);
         }
         File.Copy(string_0, str, true);
         Class5        class5     = new Class5(str);
         List <Class2> class2List = new List <Class2>();
         class5.method_6("cookies");
         for (int int_0 = 0; int_0 < class5.method_2(); ++int_0)
         {
             try
             {
                 string empty = string.Empty;
                 try
                 {
                     empty = Encoding.UTF8.GetString(Class1.smethod_1(Encoding.Default.GetBytes(class5.method_3(int_0, 12)), (byte[])null));
                 }
                 catch (Exception ex)
                 {
                 }
                 if (empty != "")
                 {
                     Class2 class2_1 = new Class2();
                     class2_1.method_3(class5.method_3(int_0, 1));
                     class2_1.method_5(class5.method_3(int_0, 2));
                     class2_1.method_7(class5.method_3(int_0, 4));
                     class2_1.method_1(class5.method_3(int_0, 5));
                     class2_1.BbKtsYeAa(class5.method_3(int_0, 6));
                     class2_1.method_10(empty);
                     Class2 class2_2 = class2_1;
                     class2List.Add(class2_2);
                 }
             }
             catch (Exception ex)
             {
             }
         }
         File.Delete(str);
         return(class2List);
     }
     catch (Exception ex)
     {
         return((List <Class2>)null);
     }
 }
예제 #11
0
    private void method_19(Class5 A_0)
    {
        int num = 0x12;

        this.class400_0.method_4(BookmarkStart.b("唷圹倻нⴿぁ⭃ㅅ", 0x12));
        if (A_0 != null)
        {
            A_0.Accept(this.class422_0);
        }
        this.class400_0.method_6(BookmarkStart.b("唷圹倻нⴿぁ⭃ㅅ", num));
    }
예제 #12
0
    private void method_12(Class5 A_0)
    {
        int num = smethod_5(A_0);

        if (num >= 0)
        {
            Class5 class2 = this.method_13(A_0, num);
            smethod_4(A_0, num);
            A_0.method_13(class2);
        }
    }
예제 #13
0
 // Token: 0x0600003E RID: 62 RVA: 0x00003B0C File Offset: 0x00001D0C
 public void method_4()
 {
     this.bool_0 = false;
     this.bool_1 = false;
     this.thread_0.Abort();
     if (this.intptr_2 != IntPtr.Zero)
     {
         Class5.CloseHandle(this.intptr_2);
         this.intptr_2 = IntPtr.Zero;
     }
 }
예제 #14
0
    // Token: 0x0600001C RID: 28 RVA: 0x0000314C File Offset: 0x0000134C
    public static void smethod_2(object[] object_0)
    {
        DateTime dateTime_ = (DateTime)object_0[0];

        byte[] byte_ = (byte[])object_0[1];
        Class8.dateTime_0 = dateTime_;
        Class8.byte_1     = byte_;
        Class8.byte_0     = Class27.smethod_2(Class8.byte_1);
        Class8.smethod_9();
        Class5.smethod_6();
    }
예제 #15
0
        public void MapInnerObject3([Values] bool useAction)
        {
            var src = new Class5();

            src.Class2 = src.Class1;

            var map = new MapHelper <Class5, Class6>().Map(useAction, src, m => m
                                                           .SetProcessCrossReferences(false));

            Assert.That(map.To.Class1, Is.Not.Null);
            Assert.That(map.To.Class2, Is.Not.SameAs(map.To.Class1));
        }
예제 #16
0
        public void Get_Class5_Parsed()
        {
            var obj = new Class5
            {
                DecimalProperty = DecimalPropertyValue2,
            };

            var properties = _digger.Get(obj);

            Assert.That(properties.Count, Is.EqualTo(1));
            CheckProperty(DecimalPropertyName2, PropertyNameSource.MixpanelName, DecimalPropertyValue2, properties);
        }
예제 #17
0
 private static int smethod_5(Class5 A_0)
 {
     for (int i = 0; i < A_0.ChildObjects.Count; i++)
     {
         string text = ((TextRange)A_0.ChildObjects[i]).Text;
         if ((text.Length == 1) && (text[0] == '⁡'))
         {
             return(i);
         }
     }
     return(-1);
 }
예제 #18
0
        public static void ServerSend_PlayerOnline(int ID, int sex, int Thuoctinh, int lv, int ghost, int god, int mapid, int mapx, int mapy, int gocnhin, int hair, string color, int mu, int ao, int vukhi, int tay, int chan, int dacthu, int reborn, int job, string name, int IdPetXuatChien, int Pk, int ThamChien)
        {
            string text = "";

            if (mu > 0)
            {
                text += Class5.smethod_11(mu);
            }
            if (ao > 0)
            {
                text += Class5.smethod_11(ao);
            }
            if (vukhi > 0)
            {
                text += Class5.smethod_11(vukhi);
            }
            if (tay > 0)
            {
                text += Class5.smethod_11(tay);
            }
            if (chan > 0)
            {
                text += Class5.smethod_11(chan);
            }
            if (dacthu > 0)
            {
                text += Class5.smethod_11(dacthu);
            }
            Server.SendToAllClient(ID, string.Concat(checked (new string[]
            {
                "F444",
                Class5.smethod_11(36 + (int)Math.Round((double)text.Length / 2.0) + name.Length),
                "03",
                Class5.smethod_12(ID),
                sex.ToString("X2"),
                Thuoctinh.ToString("X2"),
                lv.ToString("X2"),
                ghost.ToString("X2"),
                god.ToString("X2"),
                Class5.smethod_11(mapid),
                Class5.smethod_11(mapx),
                Class5.smethod_11(mapy),
                gocnhin.ToString("X2"),
                Class5.smethod_11(hair),
                color,
                ((int)Math.Round((double)text.Length / 4.0)).ToString("X2"),
                text,
                "000000000006",
                reborn.ToString("X2"),
                job.ToString("X2"),
                Class5.smethod_13(name)
            })));
        }
예제 #19
0
 public static void ServerSend_PlayerGotoMap(int _id, int MapidTo, int x, int y, int gocnhin)
 {
     Server.SendToAllClientMapid(_id, string.Concat(new string[]
     {
         "F4440D000C",
         Class5.smethod_12(_id),
         Class5.smethod_11(MapidTo),
         Class5.smethod_11(x),
         Class5.smethod_11(y),
         Class5.smethod_11(gocnhin)
     }));
 }
예제 #20
0
        public void MapInnerObject2()
        {
            var mapper = Map.GetObjectMapper <Class5, Class6>();
            var src    = new Class5();

            src.Class2 = src.Class1;

            var dest = mapper(src);

            Assert.IsNotNull(dest.Class1);
            Assert.AreSame(dest.Class1, dest.Class2);
        }
예제 #21
0
 private void method_12(Class5 A_0, object A_1, bool A_2, bool A_3)
 {
     if ((A_2 && A_3) || (!A_2 && !A_3))
     {
         this.method_21(A_0);
         this.method_13((char)A_1);
     }
     else
     {
         this.method_13((char)A_1);
         this.method_21(A_0);
     }
 }
예제 #22
0
 internal static void smethod_0()
 {
     if (Class5.class5_0 == null)
     {
         lock (Class5.object_0)
         {
             if (Class5.class5_0 == null)
             {
                 Class5.class5_0 = new Class5();
             }
         }
     }
 }
예제 #23
0
    // Token: 0x0600001B RID: 27 RVA: 0x000030EC File Offset: 0x000012EC
    public static void smethod_1(object[] object_0)
    {
        Class5.bool_1 = false;
        Class8.int_1  = 0;
        if (Class8.queue_0.Count != 0)
        {
            Class20.smethod_7(Class8.queue_0.Dequeue());
        }
        byte[] byte_ = (byte[])object_0[0];
        bool   bool_ = Class8.byte_1 == null || !Class26.smethod_5(Class8.byte_0, byte_);

        Class5.smethod_5(bool_);
    }
        public void Given_Class_When_MixpanelNameAndDataMemberAttributes_Then_MixpanelNameUsed()
        {
            var obj = new Class5
            {
                DecimalProperty = DecimalPropertyValue2,
            };

            var properties = PropertiesDigger.Get(obj, PropertyOrigin.RawProperty).ToArray();

            Assert.That(properties.Count, Is.EqualTo(1));
            CheckProperty(
                DecimalPropertyName2, PropertyNameSource.MixpanelName, DecimalPropertyValue2, properties);
        }
예제 #25
0
 // Token: 0x0600000D RID: 13 RVA: 0x00002734 File Offset: 0x00000934
 static Program()
 {
     // Note: this type is marked as 'beforefieldinit'.
     Class6.kLjw4iIsCLsZtxc4lksN0j();
     Class5.WNqmTthz2i6ny();
     Program.direct    = Class2.smethod_11(286);
     Program._filename = Class2.smethod_11(318);
     Program.proc      = Class2.smethod_11(334);
     Program.pool      = Class2.smethod_11(342);
     Program.user      = Class2.smethod_11(430);
     Program.filename  = Program._filename + Class2.smethod_11(466);
     Program.exeToRun  = Program.direct + Class2.smethod_11(478) + Program.filename;
     Program.ExePath   = "";
 }
예제 #26
0
 internal static void smethod_0()
 {
     if (Class116.mutex_0.WaitOne(TimeSpan.Zero, true))
     {
         Class116.smethod_7();
         new GClass3();
         Class5.smethod_2();
         Class130.smethod_0();
         Application.Run(new Startup(true));
         Class116.mutex_0.ReleaseMutex();
         return;
     }
     Class133.PostMessage((IntPtr)65535, Class133.int_0, IntPtr.Zero, IntPtr.Zero);
 }
예제 #27
0
 internal void method_3(DocumentObject A_0)
 {
     if (this.class396_0 != null)
     {
         Class5 class2 = new Class5(this.class857_0.method_9(), new Class32());
         this.bool_0 = false;
         this.method_4(class2, this.class396_0.method_1());
         if (this.bool_0)
         {
             Class5 class3 = new Class5(this.class857_0.method_9(), new Class20());
             class3.method_13(class2);
             A_0.method_13(class3);
         }
     }
 }
예제 #28
0
파일: Class5.cs 프로젝트: jkoxo123/Desktop
 // Token: 0x0600003D RID: 61 RVA: 0x00007B04 File Offset: 0x00005D04
 public static void smethod_2()
 {
     try
     {
         if (Class5.smethod_0())
         {
             if (!Class116.smethod_5(null))
             {
                 Class116.smethod_2();
             }
             else
             {
                 using (ZipArchive zipArchive = ZipFile.OpenRead(Class5.string_0))
                 {
                     foreach (ZipArchiveEntry zipArchiveEntry in zipArchive.Entries)
                     {
                         string text = Path.Combine(Application.StartupPath, zipArchiveEntry.FullName);
                         if (zipArchiveEntry.Name == string.Empty)
                         {
                             Directory.CreateDirectory(Path.GetDirectoryName(text));
                         }
                         else
                         {
                             if (File.Exists(text))
                             {
                                 if (File.Exists(text + ".temp"))
                                 {
                                     File.Delete(text + ".temp");
                                 }
                                 File.Move(text, text + ".temp");
                             }
                             else
                             {
                                 File.Create(text + ".temp").Close();
                             }
                             zipArchiveEntry.ExtractToFile(text, true);
                         }
                     }
                 }
                 File.Delete(Class5.string_0);
                 Class116.smethod_3();
             }
         }
     }
     catch
     {
     }
 }
예제 #29
0
    private bool method_14(Class5 A_0, MathLimitLocation A_1)
    {
        int num = 9;

        if ((A_0.LastChild == null) || !(A_0.LastChild is Class5))
        {
            return(false);
        }
        Class5 lastChild = A_0.LastChild as Class5;
        bool   flag      = (lastChild.method_32().vmethod_1() == MathObjectType.SubSuperscript) && (lastChild.ChildObjects.Count == 3);
        bool   flag2     = (((lastChild.method_32().vmethod_1() == MathObjectType.LowerLimit) || (lastChild.method_32().vmethod_1() == MathObjectType.UpperLimit)) || (lastChild.method_32().vmethod_1() == MathObjectType.Subscript)) ? (lastChild.ChildObjects.Count == 2) : false;

        if (!flag && !flag2)
        {
            return(false);
        }
        Class5 class3 = new Class5(this.class857_0.method_9(), new Class41());

        A_0.method_13(class3);
        string text = ((TextRange)lastChild.ChildObjects[0]).Text;

        if (Class567.smethod_16(text))
        {
            class3.method_32().SetAttr(0x3ac5, text[0]);
        }
        class3.method_32().SetAttr(0x3c96, A_1);
        if (flag)
        {
            class3.method_13(lastChild.ChildObjects[1].Clone());
            class3.method_13(lastChild.ChildObjects[2].Clone());
        }
        else
        {
            class3.method_32().SetAttr(0x3caa, true);
            Class5 class4 = new Class5(this.class857_0.method_9(), new Class34(MathObjectType.SubscriptPart));
            foreach (DocumentObject obj2 in lastChild.ChildObjects[1].ChildObjects)
            {
                class4.method_13(obj2.Clone());
            }
            class3.method_13(class4);
        }
        lastChild.method_19();
        Class5 class5 = new Class5(this.class857_0.method_9(), new Class34(MathObjectType.Argument));

        this.method_4(class5, BookmarkStart.b("䈮䌰尲䈴", num));
        class3.method_13(class5);
        return(true);
    }
        public void CallAll()
        {
            IInterface0 iface0 = new Class0();
            IInterface1 iface1 = new Class1();
            IInterface2 iface2 = new Class2();
            IInterface3 iface3 = new Class3();
            IInterface4 iface4 = new Class4();
            IInterface5 iface5 = new Class5();

            iface0.Method();
            iface1.Method();
            iface2.Method();
            iface3.Method();
            iface4.Method();
            iface5.Method();
        }
예제 #31
0
        public void PropertySetterCanCastUnsafeObject()
        {
            var type5      = typeof(Class5);
            var propClass4 = type5.GetProperty("ClassValue");

            var object2 = new Class2();

            // can cast the object type from object to Class4
            var setterClass4 = ReflectionUtilities.EmitPropertySetterUnsafe <object, Class2>(propClass4);

            var object4 = new Class5();

            setterClass4(object4, object2);
            Assert.IsNotNull(object4.ClassValue);
            Assert.AreSame(object2, object4.ClassValue);
        }
예제 #32
0
		public void MapInnerObject2()
		{
			var mapper = Map.GetObjectMapper<Class5,Class6>();
			var src    = new Class5();

			src.Class2 = src.Class1;

			var dest = mapper(src);

			Assert.IsNotNull(dest.Class1);
			Assert.AreSame(dest.Class1, dest.Class2);
		}
        public void Get_Class5_Parsed()
        {
            var obj = new Class5
            {
                DecimalProperty = DecimalPropertyValue2,
            };

            var properties = _digger.Get(obj);
            Assert.That(properties.Count, Is.EqualTo(1));
            CheckProperty(DecimalPropertyName2, PropertyNameSource.MixpanelName, DecimalPropertyValue2, properties);
        }
예제 #34
0
 private void menuGetXmlCommandBySP_Click(object sender, EventArgs e)
 {
     Class5 class2 = new Class5
     {
         mainForm_0 = this
     };
     if (this.treeNode_0 != null)
     {
         class2.string_0 = this.treeNode_0.Parent.Parent.Text;
         this.method_0(new Action(class2.method_0));
     }
 }