⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myproject.cs

📁 EBot source for the popular MMORPG World of Warcraft
💻 CS
📖 第 1 页 / 共 2 页
字号:
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.CoolDown>(ref this.b);
                    }
                }
            }

            public WoWBot.GliderTOeBot GliderTOeBot
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.GliderTOeBot>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.GliderTOeBot>(ref this.b);
                    }
                }
            }

            public WoWBot.HUD HUD
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.HUD>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.HUD>(ref this.b);
                    }
                }
            }

            public WoWBot.Lang Lang
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.Lang>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.Lang>(ref this.b);
                    }
                }
            }

            public WoWBot.Main Main
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.Main>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.Main>(ref this.b);
                    }
                }
            }

            public WoWBot.TimerForm TimerForm
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.TimerForm>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.TimerForm>(ref this.b);
                    }
                }
            }

            public WoWBot.UniverselSettings UniverselSettings
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.UniverselSettings>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.UniverselSettings>(ref this.b);
                    }
                }
            }

            public WoWBot.WoWChat WoWChat
            {
                [DebuggerNonUserCode]
                get
                {
                    this.b = Create__Instance__<WoWBot.WoWChat>(this.b);
                    return this.b;
                }
                [DebuggerNonUserCode]
                set
                {
                    if (value != this.b)
                    {
                        if (value != null)
                        {
                            throw new ArgumentException("Property can only be set to Nothing");
                        }
                        this.Dispose__Instance__<WoWBot.WoWChat>(ref this.b);
                    }
                }
            }
        }

        [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", ""), EditorBrowsable(EditorBrowsableState.Never)]
        internal sealed class MyWebServices
        {
            [DebuggerHidden]
            private static T Create__Instance__<T>(T instance) where T: new()
            {
                if (instance == null)
                {
                    return Activator.CreateInstance<T>();
                }
                return instance;
            }

            [DebuggerHidden]
            private void Dispose__Instance__<T>(ref T instance)
            {
                instance = default(T);
            }

            [EditorBrowsable(EditorBrowsableState.Never), DebuggerHidden]
            public override bool Equals(object o)
            {
                return base.Equals(RuntimeHelpers.GetObjectValue(o));
            }

            [DebuggerHidden, EditorBrowsable(EditorBrowsableState.Never)]
            public override int GetHashCode()
            {
                return base.GetHashCode();
            }

            [DebuggerHidden, EditorBrowsable(EditorBrowsableState.Never)]
            internal Type GetType()
            {
                return typeof(MyProject.MyWebServices);
            }

            [DebuggerHidden, EditorBrowsable(EditorBrowsableState.Never)]
            public override string ToString()
            {
                return base.ToString();
            }
        }

        [EditorBrowsable(EditorBrowsableState.Never), ComVisible(false)]
        internal sealed class ThreadSafeObjectProvider<T> where T: new()
        {
            [CompilerGenerated, ThreadStatic]
            private static T m_ThreadStaticValue;

            internal T GetInstance
            {
                [DebuggerHidden]
                get
                {
                    if (MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue == null)
                    {
                        MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue = Activator.CreateInstance<T>();
                    }
                    return MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue;
                }
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -