public void Dispose()
 {
     this.eventHubSendClient?.Dispose();
     this.eventHubSendClient = null;
 }
 public DataLogger(string eventHubConnectionString)
 {
     this.backgroundTask     = Task.Run(this.BackgroundUploadAsync);
     this.eventHubSendClient = new EventHubSendClient(eventHubConnectionString);
 }
Example #3
0
 public RewardLogger(string eventHubConnectionString)
 {
     this.eventHubSendClient = new EventHubSendClient(eventHubConnectionString);
 }