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)); }
public SessionLog(IAutoMapperProvider autoMapperProvider) { this.autoMapperProvider = autoMapperProvider; }
public TimingSessionService(IEventRepository eventRepository, IAutoMapperProvider autoMapperProvider) { this.eventRepository = eventRepository; this.autoMapperProvider = autoMapperProvider; }