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