public TaidouApplication() { _instance = this; RegisteHandlers(); }
private static TaidouApplication _instance; //单例模式 #endregion Fields #region Constructors //构造方法进行_instance的赋值 public TaidouApplication() { _instance = this; RegisterHandlers(); }