public void Remove(string strategyName) { if (AllStrategies_.ContainsKey(strategyName)) { AllStrategies_.Remove(strategyName); } else { } }
public IFinanceStrategy GetStrategy(string strategyName) { if (AllStrategies_.ContainsKey(strategyName)) { return(AllStrategies_[strategyName]); } else { return(null); } }