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

        #endregion Fields

        #region Constructors

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