Beispiel #1
0
 public StrategyInfo this[StrategyKey key]
 {
     get
     {
         return(_strategyDictionary[key]);
     }
 }
Beispiel #2
0
        public StrategyInfo(string providerId, string strategyName, string uiRep, Region applicableRegions)
        {
            ProviderId        = providerId;
            StrategyName      = strategyName;
            UiRep             = uiRep;
            ApplicableRegions = applicableRegions;

            StrategyKey = new StrategyKey();
        }
        public Strategy_t this[StrategyKey key]
        {
            get
            {
                StrategyInfo info = _allStrategies[key];

                Strategies_t strategies = this[info.ProviderId];

                return(strategies[info.StrategyName]);
            }
        }
Beispiel #4
0
 public Strategy_t this[StrategyKey key]
 {
     get { return(key != null ? _strategiesDictionary[key] : null); }
 }