public DefaultWebAppManager(WebAppCacheSetting setting, IScheduleService scheduleService, ILoggerFactory loggerFactory, IWebAppQueryService webAppQueryService) { _timeoutSecond = setting.WebAppInactiveSeconds; _logger = loggerFactory.Create(GetType().FullName); _webAppQueryService = webAppQueryService; UpdateWebAppInfoDict(); scheduleService.StartTask("UpdateWebAppInfoDict", UpdateWebAppInfoDict, 1000, 10000); }
public WebAppController(ICommandService commandService, IWebAppQueryService webAppQueryService) : base(commandService) { _webAppQueryService = webAppQueryService; }
public BusinessController(ICommandService commandService, IAccountQueryService accountQueryService, IWebAppQueryService webAppQueryService) : base(commandService) { _accountQueryService = accountQueryService; _webAppQueryService = webAppQueryService; }