1 implementation of ITestService
Microsoft.AspNetCore.Routing.Tests (1)
DefaultParameterPolicyFactoryTest.cs (1)
562
public class TestService :
ITestService
29 references to ITestService
Microsoft.AspNetCore.Routing.Tests (29)
DefaultParameterPolicyFactoryTest.cs (29)
218
services.AddTransient<
ITestService
, TestService>();
239
services.AddTransient<
ITestService
, TestService>();
262
services.AddTransient<
ITestService
, TestService>();
283
services.AddTransient<
ITestService
, TestService>();
304
services.AddTransient<
ITestService
, TestService>();
326
services.AddTransient<
ITestService
, TestService>();
347
services.AddTransient<
ITestService
, TestService>();
377
Assert.Equal($"No service for type '{typeof(
ITestService
).FullName}' has been registered.", inner.Message);
456
public CustomParameterPolicyWithArguments(
ITestService
testService, int count)
462
public
ITestService
TestService { get; }
468
public CustomParameterPolicyWithMultipleCtors(
ITestService
testService, int count)
479
public
ITestService
TestService { get; }
490
public CustomParameterPolicyWithMultipleCtorsInAscendingOrder(
ITestService
testService1, int count)
496
public CustomParameterPolicyWithMultipleCtorsInAscendingOrder(
ITestService
testService1,
ITestService
testService2, int count)
503
public
ITestService
TestService1 { get; }
504
public
ITestService
TestService2 { get; }
510
public CustomParameterPolicyWithAmbiguousMultipleCtors(
ITestService
testService, int count)
526
public
ITestService
TestService { get; }
532
public CustomParameterPolicyWithMultipleArguments(int first,
ITestService
testService1, int second,
ITestService
testService2)
541
public
ITestService
TestService1 { get; }
543
public
ITestService
TestService2 { get; }
548
public CustomParameterPolicyWithOnlyServiceArguments(
ITestService
testService1,
ITestService
testService2)
554
public
ITestService
TestService1 { get; }
555
public
ITestService
TestService2 { get; }
569
public RegexInlineRouteConstraintWithService(string regexPattern,
ITestService
testService)
575
public
ITestService
TestService { get; }