/// <summary>
 /// 获取服务类实例
 /// </summary>
 /// <returns></returns>
 public static DataServicesCore GetInstance()
 {
     if (dataservicescore == null)
     {
         dataservicescore = new DataServicesCore();
     }
     return(dataservicescore);
 }
Пример #2
0
 protected override void OnStop()
 {
     DataServicesCore.GetInstance().Stop();
 }
Пример #3
0
 protected override void OnStart(string[] args)
 {
     Bootstrapper.Run();
     DataServicesCore.GetInstance().Start(this);
 }
 /// <summary>
 /// 获取服务类实例
 /// </summary>
 /// <returns></returns>
 public static DataServicesCore GetInstance()
 {
     if (dataservicescore == null)
         dataservicescore = new DataServicesCore();
     return dataservicescore;
 }