Пример #1
0
 public DetailsModel(
     ApplicationDbContext context,
     IEventSynchronizationService eventSynchronizationService,
     IEventInfoRetrievalService eventInfoRetrievalService)
 {
     _eventSynchronizationService = eventSynchronizationService ?? throw new ArgumentNullException(nameof(eventSynchronizationService));
     _eventInfoRetrievalService   = eventInfoRetrievalService ?? throw new ArgumentNullException(nameof(eventInfoRetrievalService));
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Пример #2
0
 public AddExternalEventModel(
     IEventSynchronizationService eventSynchronizationService,
     IEventInfoRetrievalService eventInfoRetrievalService,
     IExternalEventManagementService externalEventManagementService)
 {
     _eventSynchronizationService    = eventSynchronizationService ?? throw new ArgumentNullException(nameof(eventSynchronizationService));
     _eventInfoRetrievalService      = eventInfoRetrievalService ?? throw new ArgumentNullException(nameof(eventInfoRetrievalService));
     _externalEventManagementService = externalEventManagementService ?? throw new ArgumentNullException(nameof(externalEventManagementService));
 }
Пример #3
0
 public RunModel(IEventSynchronizationService eventSynchronizationService)
 {
     _eventSynchronizationService = eventSynchronizationService ?? throw new ArgumentNullException(nameof(eventSynchronizationService));
 }