Esempio n. 1
0
        public void SetUp()
        {
            _eventWait = new ManualResetEvent(initialState: false);
            _channel   = new TestTelemetryChannel();

            EventHubTestMultipleDispatchJobs.LinksCount.Clear();
            EventHubTestMultipleDispatchJobs.MessagesCount = 0;
        }
Esempio n. 2
0
 public TestTelemetryClientFactory(Func <string, LogLevel, bool> filter, TestTelemetryChannel channel)
     : base(_mockApplicationInsightsKey, filter)
 {
     _channel = channel;
 }
 public TestTelemetryClientFactory(Func <string, LogLevel, bool> filter, TestTelemetryChannel channel)
     : base(_mockApplicationInsightsKey, new SamplingPercentageEstimatorSettings(), filter)
 {
     _channel = channel;
 }