コード例 #1
0
 public BvApiClient()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         throw new Exception("Only one instance of BvApiClient can exist at any given time.");
     }
 }
コード例 #2
0
 protected override void UnloadData()
 {
     Unregister();
     ExitQueue();
     instance = null;
 }