Clear() public method

public Clear ( ) : void
return void
コード例 #1
0
 public void Clear()
 {
     Console.WriteLine($"{DateTime.Now} Framework::Clear");
     Clock?.Clear();
     ExchangeClock?.Clear();
     EventBus?.Clear();
     EventServer?.Clear();
     EventManager?.Clear();
     ProviderManager?.DisconnectAll();
     ProviderManager?.Clear();
     InstrumentManager?.Clear();
     DataManager?.Clear();
     SubscriptionManager?.Clear();
     OrderManager?.Clear();
     PortfolioManager?.Clear();
     StrategyManager?.Clear();
     AccountDataManager?.Clear();
     GroupManager?.Clear();
     OutputManager?.Clear();
     GC.Collect();
     EventServer.OnFrameworkCleared(this);
 }