@@ -86,7 +86,7 @@ public void StartEventActivity_CreatesAndStartsActivity()
8686 componentsActivitySource . StartRouteActivity ( "ParentComponent" , "/parent" ) ;
8787
8888 // Act
89- var activityHandle = componentsActivitySource . StartEventActivity ( componentType , methodName , attributeName ) ;
89+ var activityHandle = ComponentsActivitySource . StartEventActivity ( componentType , methodName , attributeName ) ;
9090 var activity = activityHandle . Activity ;
9191
9292 // Assert
@@ -113,7 +113,7 @@ public void FailEventActivity_SetsErrorStatusAndStopsActivity()
113113 var componentsActivitySource = new ComponentsActivitySource ( ) ;
114114 var linkstore = new ComponentsActivityLinkStore ( null ) ;
115115 componentsActivitySource . Init ( linkstore ) ;
116- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
116+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
117117 var activity = activityHandle . Activity ;
118118 var exception = new InvalidOperationException ( "Test exception" ) ;
119119
@@ -133,7 +133,7 @@ public async Task CaptureEventStopAsync_StopsActivityOnSuccessfulTask()
133133 var componentsActivitySource = new ComponentsActivitySource ( ) ;
134134 var linkstore = new ComponentsActivityLinkStore ( null ) ;
135135 componentsActivitySource . Init ( linkstore ) ;
136- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
136+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
137137 var activity = activityHandle . Activity ;
138138 var task = Task . CompletedTask ;
139139
@@ -152,7 +152,7 @@ public async Task CaptureEventStopAsync_FailsActivityOnException()
152152 var componentsActivitySource = new ComponentsActivitySource ( ) ;
153153 var linkstore = new ComponentsActivityLinkStore ( null ) ;
154154 componentsActivitySource . Init ( linkstore ) ;
155- var activityHandle = componentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
155+ var activityHandle = ComponentsActivitySource . StartEventActivity ( "TestComponent" , "OnClick" , "onclick" ) ;
156156 var activity = activityHandle . Activity ;
157157 var exception = new InvalidOperationException ( "Test exception" ) ;
158158 var task = Task . FromException ( exception ) ;
@@ -192,7 +192,7 @@ public void StartEventActivity_HandlesNullValues()
192192 componentsActivitySource . Init ( linkstore ) ;
193193
194194 // Act
195- var activityHandle = componentsActivitySource . StartEventActivity ( null , null , null ) ;
195+ var activityHandle = ComponentsActivitySource . StartEventActivity ( null , null , null ) ;
196196 var activity = activityHandle . Activity ;
197197
198198 // Assert
0 commit comments