43 references to GetServiceProvider
Microsoft.AspNetCore.Components.Web.Tests (43)
HtmlRendering\HtmlRendererTest.cs (43)
24
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(_ => { })));
37
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(_ => { })));
50
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
72
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
95
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
118
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
141
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
172
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
198
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
223
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
246
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
269
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
298
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
333
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
374
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
399
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
424
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
448
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
472
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
496
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
519
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
549
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
586
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
617
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
658
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new Func<ParameterView, RenderFragment>(Content)));
683
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
711
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
757
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton<AsyncComponent>());
783
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton<AsyncComponent>());
838
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(builder =>
866
var services =
GetServiceProvider
(collection =>collection.AddSingleton(new AsyncLoadingComponentCompletion { Task = completionTcs.Task }));
888
var services =
GetServiceProvider
(collection => collection.AddSingleton(new AsyncLoadingComponentCompletion { Task = new TaskCompletionSource().Task }));
910
var services =
GetServiceProvider
(collection => collection.AddSingleton(new AsyncLoadingComponentCompletion { Task = Task.Delay(0) }));
929
var services =
GetServiceProvider
(collection => collection.AddSingleton(new AsyncLoadingComponentCompletion { Task = new TaskCompletionSource().Task }));
951
var services =
GetServiceProvider
(collection => collection.AddSingleton(new AsyncLoadingComponentCompletion { Task = completionTcs.Task }));
987
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1016
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1039
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1086
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1124
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1145
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1167
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>
1189
var serviceProvider =
GetServiceProvider
(collection => collection.AddSingleton(new RenderFragment(rtb =>