コード例 #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);
 }
コード例 #2
0
ファイル: WebAppController.cs プロジェクト: vebin/NCas
 public WebAppController(ICommandService commandService, IWebAppQueryService webAppQueryService)
     : base(commandService)
 {
     _webAppQueryService = webAppQueryService;
 }
コード例 #3
0
ファイル: BusinessController.cs プロジェクト: vebin/NCas
 public BusinessController(ICommandService commandService, IAccountQueryService accountQueryService,
                           IWebAppQueryService webAppQueryService) : base(commandService)
 {
     _accountQueryService = accountQueryService;
     _webAppQueryService  = webAppQueryService;
 }