Exemplo n.º 1
0
 public TaidouApplication()
 {
     _instance = this;
     RegisteHandlers();
 }
Exemplo n.º 2
0
        private static TaidouApplication _instance; //单例模式

        #endregion Fields

        #region Constructors

        //构造方法进行_instance的赋值
        public TaidouApplication()
        {
            _instance = this;
            RegisterHandlers();
        }