/// <summary> /// Build BotHandlerService and make sure it can't be altered by builder anymore /// </summary> /// <returns>The build BotHandlerService object</returns> public BotHandlerService Build() { var ret = _botHandlerService; _botHandlerService = null; return(ret); }
/// <summary> /// Constructor /// </summary> /// <param name="instrumentManager">InstrumentManager depency</param> public Builder(IInstrumentManager instrumentManager) { _botHandlerService = new BotHandlerService(instrumentManager); }