@@ -86,7 +86,7 @@ public void StartEventActivity_CreatesAndStartsActivity()
86
86
componentsActivitySource . StartRouteActivity ( "ParentComponent" , "/parent" ) ;
87
87
88
88
// Act
89
- var activityHandle = componentsActivitySource . StartEventActivity ( componentType , methodName , attributeName ) ;
89
+ var activityHandle = ComponentsActivitySource . StartEventActivity ( componentType , methodName , attributeName ) ;
90
90
var activity = activityHandle . Activity ;
91
91
92
92
// Assert
@@ -113,7 +113,7 @@ public void FailEventActivity_SetsErrorStatusAndStopsActivity()
113
113
var componentsActivitySource = new ComponentsActivitySource ( ) ;
114
114
var linkstore = new ComponentsActivityLinkStore ( null ) ;
115
115
componentsActivitySource . Init ( linkstore ) ;
116
- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
116
+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
117
117
var activity = activityHandle . Activity ;
118
118
var exception = new InvalidOperationException ( "Test exception" ) ;
119
119
@@ -133,7 +133,7 @@ public async Task CaptureEventStopAsync_StopsActivityOnSuccessfulTask()
133
133
var componentsActivitySource = new ComponentsActivitySource ( ) ;
134
134
var linkstore = new ComponentsActivityLinkStore ( null ) ;
135
135
componentsActivitySource . Init ( linkstore ) ;
136
- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
136
+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
137
137
var activity = activityHandle . Activity ;
138
138
var task = Task . CompletedTask ;
139
139
@@ -152,7 +152,7 @@ public async Task CaptureEventStopAsync_FailsActivityOnException()
152
152
var componentsActivitySource = new ComponentsActivitySource ( ) ;
153
153
var linkstore = new ComponentsActivityLinkStore ( null ) ;
154
154
componentsActivitySource . Init ( linkstore ) ;
155
- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
155
+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
156
156
var activity = activityHandle . Activity ;
157
157
var exception = new InvalidOperationException ( "Test exception" ) ;
158
158
var task = Task . FromException ( exception ) ;
@@ -192,7 +192,7 @@ public void StartEventActivity_HandlesNullValues()
192
192
componentsActivitySource . Init ( linkstore ) ;
193
193
194
194
// Act
195
- var activityHandle = componentsActivitySource . StartEventActivity ( null , null , null ) ;
195
+ var activityHandle = ComponentsActivitySource . StartEventActivity ( null , null , null ) ;
196
196
var activity = activityHandle . Activity ;
197
197
198
198
// Assert
0 commit comments