Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Commit

Permalink
rename httpDesktopProcessing
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudmila Molkova committed May 4, 2017
1 parent e973cdd commit 5c8a03c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class DependencyTrackingTelemetryModule : ITelemetryModule, IDisposable
public bool DisableRuntimeInstrumentation { get; set; }

/// <summary>
/// Gets or sets a value indicating whether to enable Http Desktop DiagnosticSource instrumentation
/// Gets or sets a value indicating whether to enable Http Desktop DiagnosticSource instrumentation.
/// </summary>
public bool EnableDiagnosticSourceInstrumentation { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.ApplicationInsights.DependencyCollector.Implementation
/// </summary>
internal class HttpDesktopDiagnosticSourceListener : IObserver<KeyValuePair<string, object>>, IDisposable
{
private readonly DesktopDiagnosticSourceHttpProcessing httpDesktopProcessingFramework;
private readonly DesktopDiagnosticSourceHttpProcessing httpDesktopProcessing;
private readonly HttpDesktopDiagnosticSourceSubscriber subscribeHelper;
private readonly PropertyFetcher requestFetcherRequestEvent;
private readonly PropertyFetcher requestFetcherResponseEvent;
Expand All @@ -20,7 +20,7 @@ internal class HttpDesktopDiagnosticSourceListener : IObserver<KeyValuePair<stri

internal HttpDesktopDiagnosticSourceListener(DesktopDiagnosticSourceHttpProcessing httpProcessing)
{
this.httpDesktopProcessingFramework = httpProcessing;
this.httpDesktopProcessing = httpProcessing;
this.subscribeHelper = new HttpDesktopDiagnosticSourceSubscriber(this);
this.requestFetcherRequestEvent = new PropertyFetcher("Request");
this.requestFetcherResponseEvent = new PropertyFetcher("Request");
Expand Down Expand Up @@ -56,7 +56,7 @@ public void OnNext(KeyValuePair<string, object> value)
// request is never null
var request = (HttpWebRequest)this.requestFetcherRequestEvent.Fetch(value.Value);
DependencyCollectorEventSource.Log.BeginCallbackCalled(request.GetHashCode(), value.Key);
this.httpDesktopProcessingFramework.OnRequestSend(request);
this.httpDesktopProcessing.OnRequestSend(request);
break;
}

Expand All @@ -70,7 +70,7 @@ public void OnNext(KeyValuePair<string, object> value)
var request = (HttpWebRequest)this.requestFetcherResponseEvent.Fetch(value.Value);
DependencyCollectorEventSource.Log.EndCallbackCalled(request.GetHashCode().ToString(CultureInfo.InvariantCulture));
var response = (HttpWebResponse)this.responseFetcher.Fetch(value.Value);
this.httpDesktopProcessingFramework.OnResponseReceive(request, response);
this.httpDesktopProcessing.OnResponseReceive(request, response);
break;
}

Expand Down

0 comments on commit 5c8a03c

Please sign in to comment.