Esempio n. 1
0
 public TimingSession(Id <TimingSessionDto> id,
                      IEventRepository eventRepository,
                      IRecordingService recordingService, IRecordingServiceRepository recordingServiceRepository,
                      IAutoMapperProvider autoMapper,
                      IMessageHub messageHub, ISystemClock clock)
 {
     this.Id = id;
     this.eventRepository            = eventRepository;
     this.recordingService           = recordingService;
     this.recordingServiceRepository = recordingServiceRepository;
     this.autoMapper = autoMapper;
     this.messageHub = messageHub;
     this.clock      = clock;
     messageHub.Subscribe <UpstreamDataSyncComplete>(_ => Reload());
     messageHub.Subscribe <StorageUpdated>(x => Reload(false, x));
 }
Esempio n. 2
0
 public SessionLog(IAutoMapperProvider autoMapperProvider)
 {
     this.autoMapperProvider = autoMapperProvider;
 }
Esempio n. 3
0
 public TimingSessionService(IEventRepository eventRepository, IAutoMapperProvider autoMapperProvider)
 {
     this.eventRepository    = eventRepository;
     this.autoMapperProvider = autoMapperProvider;
 }