4 instantiations of MetadataService
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateFactoryTests.cs (2)
3018
var metadataService = new
MetadataService
();
3033
var metadataService = new
MetadataService
();
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (2)
360
var metadataService = new
MetadataService
();
380
var metadataService = new
MetadataService
();
12 references to MetadataService
Microsoft.AspNetCore.Http.Extensions.Tests (12)
RequestDelegateFactoryTests.cs (6)
3018
var
metadataService = new MetadataService();
3025
Assert.Contains(result.EndpointMetadata, m => m is
MetadataService
);
3033
var
metadataService = new MetadataService();
3040
Assert.Contains(result.EndpointMetadata, m => m is
MetadataService
);
3295
if (builder.ApplicationServices.GetRequiredService<
MetadataService
>() is { } metadataService)
3311
if (builder.ApplicationServices.GetRequiredService<
MetadataService
>() is { } metadataService)
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (4)
360
var
metadataService = new MetadataService();
368
Assert.Contains(endpoint.Metadata, m => m is
MetadataService
);
380
var
metadataService = new MetadataService();
388
Assert.Contains(endpoint.Metadata, m => m is
MetadataService
);
RequestDelegateGenerator\SharedTypes.cs (2)
631
if (builder.ApplicationServices.GetRequiredService<
MetadataService
>() is { } metadataService)
685
if (builder.ApplicationServices.GetRequiredService<
MetadataService
>() is { } metadataService)