コード例 #1
0
ファイル: EmployeesRegistry.cs プロジェクト: dsomok/GLObot
 public EmployeesRegistry(GloOfficeTimeClient client, ILogger logger)
 {
     _client = client;
     _logger = logger;
 }
コード例 #2
0
 public GloOfficeTimePollerRegistry(TimeSpan pollingPeriod, GloOfficeTimeClient client)
 {
     _pollingPeriod = pollingPeriod;
     _client        = client;
 }
コード例 #3
0
 public GloOfficeTimePoller(TimeSpan period, GloOfficeTimeClient client, Action <CheckinDetails> onNewTimestamp)
 {
     _period         = period;
     _client         = client;
     _onNewTimestamp = onNewTimestamp ?? throw new ArgumentNullException(nameof(onNewTimestamp));
 }