Example #1
0
 public Appl(IStrategyFactory strategyFactory, IStrategySelector strategySelector,
             IWorldSource worldSource)
 {
     _strategyFactory  = strategyFactory;
     _strategySelector = strategySelector;
     _worldSource      = worldSource;
 }
Example #2
0
 public App(
     ILogger <App> logger,
     IStrategySelector strategySelector,
     IStrategyBotFactory strategyBotFactory)
 {
     _logger             = logger;
     _strategySelector   = strategySelector;
     _strategyBotFactory = strategyBotFactory;
 }
Example #3
0
 static AttachedTemplate()
 {
     //todo: change for IoC resolution here
     StrategySelector = new DefaultStrategySelector();
 }
 static AttachedTemplate()
 {
     //todo: change for IoC resolution here
     StrategySelector = new DefaultStrategySelector();
 }