internal Workflow(Assembly botAssembly, IComponentContext context) { this._context = context; this._controllersService = new ControllersService(context, botAssembly, context.Resolve <BotCommandsService>(), context.Resolve <CommandsContainer>()); this._commandParser = context.Resolve <CommandParser>(); this._middlewaresService = context.Resolve <MiddlewaresService>(); }
internal Workflow(Assembly botAssembly, IComponentContext context) { this._controllersService = new ControllersService(context, botAssembly, context.Resolve <BotCommandsService>(), context.Resolve <CommandsContainer>()); this._commandParser = context.Resolve <CommandParser>(); this._middlewaresService = context.Resolve <MiddlewaresService>(); this._discordServerContextFactory = context.Resolve <DiscordServerContextFactory>(); this._userContextsFactory = context.Resolve <UserContextsFactory>(); this._channelContextFactory = context.Resolve <ChannelContextFactory>(); this._userRoleFactory = context.Resolve <UserRoleFactory>(); }
internal Workflow(Assembly botAssembly, IComponentContext context) { this._controllersService = new ControllersService(context, botAssembly, context.Resolve <BotCommandsService>()); }
internal Workflow(Assembly botAssembly, IComponentContext context) { this._controllersService = new ControllersService(context, botAssembly); }