static StrategyComponentManager() { StrategyComponentManager.tuxR3OBtRK = new Hashtable(); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.CrossEntry, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.CrossExit, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.Entry, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.Exit, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.ExecutionManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.ExposureManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.MoneyManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.RiskManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.MarketManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.OptimizationManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.ReportManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.MetaExposureManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.MetaMoneyManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.MetaRiskManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.SimulationManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.ATSComponent, ""); StrategyComponentManager.tuxR3OBtRK.Add((object)ComponentType.ATSCrossComponent, ""); StrategyComponentManager.gLhRsqD2VZ = new Hashtable(); StrategyComponentManager.wcrRFbhwry = new StrategyComponentList(); StrategyComponentManager.yNoRLNTZ2P = new List <string>(); StrategyComponentManager.qGjRTr4ZHe(); }
public static StrategyComponentList GetComponentList(ComponentType componentType) { StrategyComponentList strategyComponentList = new StrategyComponentList(); foreach (ComponentRecord componentRecord in StrategyComponentManager.wcrRFbhwry) { if ((componentRecord.ComponentType & componentType) != (ComponentType)0) { strategyComponentList.ROm6C46rfm(componentRecord); } } return(strategyComponentList); }
static StrategyComponentManager() { StrategyComponentManager.tuxR3OBtRK = new Hashtable(); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.CrossEntry, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.CrossExit, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.Entry, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.Exit, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.ExecutionManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.ExposureManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.MoneyManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.RiskManager,""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.MarketManager,""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.OptimizationManager,""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.ReportManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.MetaExposureManager,""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.MetaMoneyManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.MetaRiskManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.SimulationManager, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.ATSComponent, ""); StrategyComponentManager.tuxR3OBtRK.Add((object) ComponentType.ATSCrossComponent, ""); StrategyComponentManager.gLhRsqD2VZ = new Hashtable(); StrategyComponentManager.wcrRFbhwry = new StrategyComponentList(); StrategyComponentManager.yNoRLNTZ2P = new List<string>(); StrategyComponentManager.qGjRTr4ZHe(); }
public static StrategyComponentList GetComponentList(ComponentType componentType) { StrategyComponentList strategyComponentList = new StrategyComponentList(); foreach (ComponentRecord componentRecord in StrategyComponentManager.wcrRFbhwry) { if ((componentRecord.ComponentType & componentType) != (ComponentType) 0) strategyComponentList.ROm6C46rfm(componentRecord); } return strategyComponentList; }