1 instantiation of ActivityIdHelper
System.Web (1)
Util\ActivityIdHelper.cs (1)
57
return new
ActivityIdHelper
(getCurrentDel, setAndDestroyDel, setAndPreserveDel);
14 references to ActivityIdHelper
System.Web (14)
AspNetEventSource.cs (4)
62
if (
ActivityIdHelper
.Instance == null || _writeEventWithRelatedActivityIdCoreDel == null || iisActivityId == Guid.Empty) {
72
Guid originalThreadActivityId =
ActivityIdHelper
.Instance.CurrentThreadActivityId;
77
ActivityIdHelper
.Instance.SetCurrentThreadActivityId(iisActivityId, out originalThreadActivityId);
86
ActivityIdHelper
.Instance.SetCurrentThreadActivityId(originalThreadActivityId, out unused);
RootedObjects.cs (8)
48
_activityIdTracingIsEnabled =
ActivityIdHelper
.Instance != null && AspNetEventSource.Instance.IsEnabled();
50
_requestActivityId =
ActivityIdHelper
.UnsafeCreateNewActivityId();
231
Debug.Assert(
ActivityIdHelper
.Instance != null);
232
ActivityIdHelper
.Instance.SetCurrentThreadActivityId(rootedObjects._requestActivityId, out _originalActivityId);
253
Debug.Assert(
ActivityIdHelper
.Instance != null);
254
Debug.Assert(
ActivityIdHelper
.Instance.CurrentThreadActivityId == _rootedObjects._requestActivityId, "Unexpected activity ID on current thread.");
265
ActivityIdHelper
.Instance.SetCurrentThreadActivityId(_originalActivityId);
270
ActivityIdHelper
.Instance.SetCurrentThreadActivityId(_originalActivityId, out unused);
Util\ActivityIdHelper.cs (2)
20
internal static readonly
ActivityIdHelper
Instance = GetSingleton();
42
private static
ActivityIdHelper
GetSingleton() {