예제 #1
0
파일: WhoisHub.cs 프로젝트: gh0stwizard/VwM
 public WhoisHub(
     ILogger <WhoisHub> logger,
     IStringLocalizer <WhoisHub> localizer,
     WhoisRequestQueue queue,
     IBackgroundTaskQueue <WhoisTaskQueue> taskQueue,
     WhoisCollection whois,
     DatabaseStatus serverStatus) : base(logger, localizer, queue, taskQueue)
 {
     _whois    = whois;
     _dbStatus = serverStatus;
 }
예제 #2
0
 public ToolController(
     ILogger <ToolController> logger,
     IStringLocalizer <ToolController> localizer,
     DeviceCollection devices,
     WhoisCollection whoisCollection,
     PingRequestQueue pingQueue,
     WhoisRequestQueue whoisQueue,
     ToolListViewModel listModel,
     DatabaseStatus databaseStatus,
     IMapper mapper) : base(logger, localizer)
 {
     _devices    = devices;
     _whois      = whoisCollection;
     _pingQueue  = pingQueue;
     _whoisQueue = whoisQueue;
     _listModel  = listModel;
     _dbStatus   = databaseStatus;
     _mapper     = mapper;
 }