1 write to _serviceProvider
Microsoft.AspNetCore.Components.Tests (1)
Routing\RouteTableFactoryTests.cs (1)
18
_serviceProvider
= new ServiceCollection()
10 references to _serviceProvider
Microsoft.AspNetCore.Components.Tests (10)
Routing\RouteTableFactoryTests.cs (10)
28
var routes1 = routeTableFactory.Create(new RouteKey(GetType().Assembly, null),
_serviceProvider
);
31
var routes2 = routeTableFactory.Create(new RouteKey(GetType().Assembly, null),
_serviceProvider
);
42
var routes1 = routeTableFactory.Create(new RouteKey(typeof(object).Assembly, new[] { typeof(ComponentBase).Assembly, GetType().Assembly, }),
_serviceProvider
);
45
var routes2 = routeTableFactory.Create(new RouteKey(typeof(object).Assembly, new[] { GetType().Assembly, typeof(ComponentBase).Assembly, }),
_serviceProvider
);
56
var routes1 = routeTableFactory.Create(new RouteKey(GetType().Assembly, null),
_serviceProvider
);
59
var routes2 = routeTableFactory.Create(new RouteKey(GetType().Assembly, new[] { typeof(object).Assembly }),
_serviceProvider
);
70
var routeTable = routeTableFactory.Create(new RouteKey(GetType().Assembly, new[] { GetType().Assembly }),
_serviceProvider
);
83
var routeTable = routeTableFactory.Create(new RouteKey(GetType().Assembly, Array.Empty<Assembly>()),
_serviceProvider
);
96
var routeTable = RouteTableFactory.Create(new List<Type> { typeof(MyComponent), },
_serviceProvider
);
113
var routeTable = RouteTableFactory.Create(new List<Type> { typeof(MyComponent), typeof(MyInheritedComponent) },
_serviceProvider
);