Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void
예제 #1
0
 private void Dispose(bool dispoing)
 {
     if (!this.disposed)
     {
         if (dispoing)
         {
             SaveConfiguration();
             if (this.bool_1)
             {
                 InstrumentServer?.Dispose();
             }
             if (this.bool_2)
             {
                 DataServer?.Dispose();
             }
             if (this.bool_3)
             {
                 OrderServer?.Dispose();
             }
             if (this.bool_4)
             {
                 PortfolioServer?.Dispose();
             }
             ProviderManager?.Dispose();
             DataManager?.Dispose();
             EventManager?.Dispose();
             OutputManager?.Dispose();
         }
         this.disposed = true;
     }
 }