Example #1
0
 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);
 }
Example #2
0
 public WebAppController(ICommandService commandService, IWebAppQueryService webAppQueryService)
     : base(commandService)
 {
     _webAppQueryService = webAppQueryService;
 }
Example #3
0
 public BusinessController(ICommandService commandService, IAccountQueryService accountQueryService,
                           IWebAppQueryService webAppQueryService) : base(commandService)
 {
     _accountQueryService = accountQueryService;
     _webAppQueryService  = webAppQueryService;
 }