FastQuant.OutputManager.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

Same methods

OutputManager::Dispose ( bool disposing ) : void

Usage Example

Beispiel #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;
     }
 }