Exemplo n.º 1
0
 public StateMachine(IBotFlowService botFlowService,
                     IUserSemaphoreService userSemaphoreService,
                     IVariableService variableService,
                     ICustomActionService customActionService,
                     IStateMachineService stateMachineService,
                     INlpProvider nlpProvider)
 {
     _botFlowService       = botFlowService;
     _userSemaphoreService = userSemaphoreService;
     _variableService      = variableService;
     _stateMachineService  = stateMachineService;
     _customActionService  = customActionService;
     _nlpProvider          = nlpProvider;
 }
        public DictionaryController(
            IItemDifinitionService itemDifinitionService, IRegionService regionService, ICultureService cultureService, IContentService contentService,
            IOptions <EnvironmentConfiguration> options, IWebAppQpHelper webAppQpHelper, ICustomActionService customActionService,
            IMapper mapper, ILogger <SiteMapController> logger, IStringLocalizerFactory stringLocalizerFactory)
        {
            _itemDifinitionService = itemDifinitionService;
            _regionService         = regionService;
            _cultureService        = cultureService;
            _contentService        = contentService;
            _customActionService   = customActionService;
            _mapper = mapper;
            _logger = logger;
            _stringLocalizerFactory = stringLocalizerFactory;

            _customActionConfig    = options.Value?.CustomAction;
            _rootPageDiscriminator = options.Value?.StartPageDiscriminator;

            _siteId = webAppQpHelper.SiteId;
            _userId = webAppQpHelper.UserId;
        }
Exemplo n.º 3
0
 public CustomActionController(ICustomActionService service, IServiceProvider serviceProvider)
 {
     _service         = service;
     _serviceProvider = serviceProvider;
 }
Exemplo n.º 4
0
 public CustomActionController(ICustomActionService service)
 {
     _service = service;
 }