/// <summary>
 /// Initializes a new instance of the <see cref="SmartSignalResultPublisher"/> class.
 /// </summary>
 /// <param name="tracer">The tracer to use.</param>
 /// <param name="storageProviderFactory">The Azure storage provider factory.</param>
 public SmartSignalResultPublisher(ITracer tracer, ICloudStorageProviderFactory storageProviderFactory)
 {
     this.tracer          = Diagnostics.EnsureArgumentNotNull(() => tracer);
     this.containerClient = storageProviderFactory.GetSmartSignalResultStorageContainer();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignalResultApi"/> class.
 /// </summary>
 /// <param name="storageProviderFactory">The storage provider factory.</param>
 /// <param name="applicationInsightsClientFactory">The application insights client factory.</param>
 public SignalResultApi(ICloudStorageProviderFactory storageProviderFactory, IApplicationInsightsClientFactory applicationInsightsClientFactory)
 {
     this.signalResultStorageContainer = storageProviderFactory.GetSmartSignalResultStorageContainer();
     this.applicationInsightsClient    = applicationInsightsClientFactory.GetApplicationInsightsClient();
 }