示例#1
0
 public override void TearDown()
 {
     if (store != null)
     {
         store.Stop();
     }
     if (appTokenMgr != null)
     {
         appTokenMgr.Stop();
     }
     base.TearDown();
 }
 /// <exception cref="System.Exception"/>
 protected override void ServiceStop()
 {
     if (rmDTSecretManager != null)
     {
         rmDTSecretManager.StopThreads();
     }
     if (amRmTokenSecretManager != null)
     {
         amRmTokenSecretManager.Stop();
     }
     if (containerTokenSecretManager != null)
     {
         containerTokenSecretManager.Stop();
     }
     if (nmTokenSecretManager != null)
     {
         nmTokenSecretManager.Stop();
     }
     base.ServiceStop();
 }