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

📄 detectaction.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.CommLayer.NetworkDetect
{
    using Imps.Client.CommLayer;
    using System;
    using System.Runtime.CompilerServices;

    public class DetectAction : IDisposable
    {
        private bool _canResume;
        private string _description = string.Empty;
        private Imps.Client.CommLayer.DetectData _detectData = new Imps.Client.CommLayer.DetectData();
        private NetworkDetectStage _nextStage;

        public event EventHandler<DetectEventArgs> OnDetectFinished;

        public virtual void BeginDetectAction()
        {
        }

        public virtual void CancelDetectAction()
        {
        }

        public virtual void Dispose()
        {
        }

        protected void FireDetecFinsihedEvent(object sender, DetectEventArgs e)
        {
            if (this.OnDetectFinished != null)
            {
                this.OnDetectFinished.Invoke(sender, e);
            }
        }

        public bool CanResume
        {
            get
            {
                return this._canResume;
            }
            protected set
            {
                this._canResume = value;
            }
        }

        public virtual NetworkDetectStage CurrentStage
        {
            get
            {
                return NetworkDetectStage.NetworkAdapter;
            }
        }

        public string Description
        {
            get
            {
                return this._description;
            }
            protected set
            {
                this._description = value;
            }
        }

        public Imps.Client.CommLayer.DetectData DetectData
        {
            get
            {
                return this._detectData;
            }
            set
            {
                this._detectData = value;
            }
        }

        public NetworkDetectStage NextStage
        {
            get
            {
                return this._nextStage;
            }
            protected set
            {
                this._nextStage = value;
            }
        }
    }
}

⌨️ 快捷键说明

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