private StrategyBuilder(Robot bot, string label, Symbol symbol, List <ModuleBase> modules) { this.bot = bot; this.symbol = symbol; _strategy = new StrategyBase(bot, symbol, label); foreach (var module in modules) { _strategy.AddModule(module); } }
public StrategyBuilder AddModule(string name) { _strategy.AddModule(ActivateModule(name)); return(this); }