2 instantiations of InferredServiceClass
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
EndpointMetadataApiDescriptionProviderTest.cs (2)
1777
serviceCollection.AddSingleton<IInferredServiceInterface>(new
InferredServiceClass
());
1778
serviceCollection.AddKeyedSingleton("foo", new
InferredServiceClass
());
4 references to InferredServiceClass
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
EndpointMetadataApiDescriptionProviderTest.cs (4)
823
Assert.Empty(GetApiDescription(([FromServices]
InferredServiceClass
foo) => { }).ParameterDescriptions);
824
Assert.Empty(GetApiDescription(([CustomFromServices]
InferredServiceClass
foo) => { }).ParameterDescriptions);
825
Assert.Empty(GetApiDescription(([FromKeyedServices("foo")]
InferredServiceClass
foo) => { }).ParameterDescriptions);
826
Assert.Empty(GetApiDescription(([CustomFromKeyedServices("foo")]
InferredServiceClass
foo) => { }).ParameterDescriptions);