예제 #1
0
파일: SasManager.cs 프로젝트: pakoito/OCTGN
 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");
 }