Пример #1
0
 public static SasManager GetContext()
 {
     lock (Locker)
     {
         return current ?? (current = new SasManager());
     }
 }
Пример #2
0
 public static SasManager GetContext()
 {
     lock (Locker)
     {
         return(current ?? (current = new SasManager()));
     }
 }
Пример #3
0
 protected override void OnStop()
 {
     Log.Info("OnStop Called");
     GameServiceClient.GetContext().Stop();
     SasManager.GetContext().Stop();
     this.FireOnServiceStop();
     Log.Info("OnStop Completed");
 }
Пример #4
0
 public void Start()
 {
     Log.Info("Starting");
     this.OnStart(null);
     GameServiceClient.GetContext().Start();
     SasManager.GetContext().Start();
     Log.Info("Started");
 }