public BaseReferenceDataHub(
     IHubEventBase eventBase,
     ILogger logger,
     ReferenceDataTypes referenceDataType)
 {
     _eventBase         = eventBase;
     _logger            = logger;
     _referenceDataType = referenceDataType;
 }
Esempio n. 2
0
 public ReferenceDataTimedHostedService(
     ILogger logger,
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IEnumerable <IReferenceDataHub> hubs)
     : base("Reference Data", logger, serialisationHelperService)
 {
     _logger = logger;
     _hubs   = hubs;
     eventBase.HubCallback += RegisterClient;
 }
 public DevolvedPostcodesPublicationHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <DevolvedPostcodesPublicationHub> hubContext,
     IReferenceDataProcessService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.FisReferenceData2021)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
Esempio n. 4
0
 public OnsPostcodesHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <OnsPostcodesHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.OnsPostcodes)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
 public CampusIdentifiersHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <CampusIdentifiersHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.CampusIdentifier)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
 public ProviderPostcodeSpecialistResourcesHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <ProviderPostcodeSpecialistResourcesHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.ProviderPostcodeSpecialistResourcesHub)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
Esempio n. 7
0
 public ValidationErrorMessages2021Hub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <ValidationErrorMessages2021Hub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.ValidationMessages2021)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
Esempio n. 8
0
 public ShortTermFundingInitiativesHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <ShortTermFundingInitiativesHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.ShortTermFundingInitiatives)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
 public ConditionOfFundingRemovalHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <ConditionOfFundingRemovalHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.ConditionOfFundingRemoval)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
Esempio n. 10
0
 public DevolvedContractsHub(
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     IHubContext <DevolvedContractsHub> hubContext,
     IReferenceDataService referenceDataService,
     ILogger logger)
     : base(eventBase, logger, ReferenceDataTypes.DevolvedContracts)
 {
     _serialisationHelperService = serialisationHelperService;
     _hubContext           = hubContext;
     _referenceDataService = referenceDataService;
 }
 public PeriodEndTimedHostedService(
     ILogger logger,
     IPeriodEndService periodEndService,
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     PeriodEndHub periodEndHub)
 : base("Period End", logger, serialisationHelperService)
 {
     _logger = logger;
     _periodEndService = periodEndService;
     _periodEndHub = periodEndHub;
     eventBase.HubCallback += RegisterClient;
 }
Esempio n. 12
0
 public NCSPeriodEndHub(
     IHubEventBase eventBase,
     IHubContext <NCSPeriodEndHub> hubContext,
     INCSPeriodEndService periodEndService,
     IStateService stateService,
     IPeriodService periodService,
     ILogger logger)
 {
     _eventBase        = eventBase;
     _hubContext       = hubContext;
     _periodEndService = periodEndService;
     _stateService     = stateService;
     _periodService    = periodService;
     _logger           = logger;
 }
Esempio n. 13
0
 public PeriodEndHub(
     IHubEventBase eventBase,
     IHubContext <PeriodEndHub> hubContext,
     IPeriodEndService periodEndService,
     IEmailService emailService,
     IStateService stateService,
     IPeriodService periodService,
     IApiAvailabilityService apiAvailabilityService,
     ILogger logger)
 {
     _eventBase              = eventBase;
     _hubContext             = hubContext;
     _periodEndService       = periodEndService;
     _emailService           = emailService;
     _stateService           = stateService;
     _periodService          = periodService;
     _apiAvailabilityService = apiAvailabilityService;
     _logger = logger;
 }
Esempio n. 14
0
 public BaseHub(IHubEventBase eventBase, IHubContext <THub> hubContext, ILogger logger)
 {
     _eventBase  = eventBase;
     _hubContext = hubContext;
     _logger     = logger;
 }