detecteventargs.cs

来自「破解的飞信源代码」· CS 代码 · 共 47 行

CS
47
字号
namespace Imps.Client.CommLayer.NetworkDetect
{
    using System;
    using System.Collections.Generic;

    public class DetectEventArgs : EventArgs
    {
        private List<DetectResult> _details;
        private bool _passed;

        public DetectEventArgs() : this(false)
        {
        }

        public DetectEventArgs(bool passed) : this(passed, new List<DetectResult>())
        {
        }

        public DetectEventArgs(bool passed, List<DetectResult> details)
        {
            this._passed = passed;
            this._details = details;
        }

        public List<DetectResult> Details
        {
            get
            {
                return this._details;
            }
            set
            {
                this._details = value;
            }
        }

        public bool Passed
        {
            get
            {
                return this._passed;
            }
        }
    }
}

⌨️ 快捷键说明

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