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