예제 #1
0
 public void Remove(string strategyName)
 {
     if (AllStrategies_.ContainsKey(strategyName))
     {
         AllStrategies_.Remove(strategyName);
     }
     else
     {
     }
 }
예제 #2
0
 public IFinanceStrategy GetStrategy(string strategyName)
 {
     if (AllStrategies_.ContainsKey(strategyName))
     {
         return(AllStrategies_[strategyName]);
     }
     else
     {
         return(null);
     }
 }