public EmployeesRegistry(GloOfficeTimeClient client, ILogger logger) { _client = client; _logger = logger; }
public GloOfficeTimePollerRegistry(TimeSpan pollingPeriod, GloOfficeTimeClient client) { _pollingPeriod = pollingPeriod; _client = client; }
public GloOfficeTimePoller(TimeSpan period, GloOfficeTimeClient client, Action <CheckinDetails> onNewTimestamp) { _period = period; _client = client; _onNewTimestamp = onNewTimestamp ?? throw new ArgumentNullException(nameof(onNewTimestamp)); }