コード例 #1
0
ファイル: MetaStrategy.cs プロジェクト: zhuzhenping/FreeOQ
 public MetaStrategy(string name) : base(name)
 {
     this.MetaExposureManager = StrategyComponentManager.GetComponent("GetComponent", (object)this) as MetaExposureManager;
     this.ExecutionManager    = StrategyComponentManager.GetComponent("GetComponent", (object)this) as ExecutionManager;
     this.MetaRiskManager     = StrategyComponentManager.GetComponent("GetComponent", (object)this) as MetaRiskManager;
     this.aNKR2wRnBL          = new SignalList();
     this.componentTypeList.Add(ComponentType.MetaRiskManager);
     this.componentTypeList.Add(ComponentType.MetaExposureManager);
     this.componentTypeList.Add(ComponentType.ExecutionManager);
 }
コード例 #2
0
ファイル: MetaStrategy.cs プロジェクト: heber/FreeOQ
		public MetaStrategy(string name): base(name)
    {

			this.MetaExposureManager = StrategyComponentManager.GetComponent("GetComponent", (object) this) as MetaExposureManager;
			this.ExecutionManager = StrategyComponentManager.GetComponent("GetComponent", (object) this) as ExecutionManager;
			this.MetaRiskManager = StrategyComponentManager.GetComponent("GetComponent", (object) this) as MetaRiskManager;
      this.aNKR2wRnBL = new SignalList();
      this.componentTypeList.Add(ComponentType.MetaRiskManager);
      this.componentTypeList.Add(ComponentType.MetaExposureManager);
      this.componentTypeList.Add(ComponentType.ExecutionManager);
    }