4 instantiations of MetadataCountMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateFactoryTests.cs (2)
3351
builder.Metadata.Add(new
MetadataCountMetadata
{ Count = currentMetadataCount });
3362
builder.Metadata.Add(new
MetadataCountMetadata
{ Count = currentMetadataCount });
RequestDelegateGenerator\SharedTypes.cs (2)
928
builder.Metadata.Add(new
MetadataCountMetadata
{ Count = currentMetadataCount });
961
builder.Metadata.Add(new
MetadataCountMetadata
{ Count = currentMetadataCount });
9 references to MetadataCountMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (9)
RequestDelegateFactoryTests.cs (5)
2687
Assert.Contains(result.EndpointMetadata, m => m is
MetadataCountMetadata
{ Count: 1 });
2710
Assert.Contains(result.EndpointMetadata, m => m is
MetadataCountMetadata
{ Count: 2 });
2733
Assert.Contains(result.EndpointMetadata, m => m is
MetadataCountMetadata
{ Count: 2 });
2756
Assert.Contains(result.EndpointMetadata, m => m is
MetadataCountMetadata
{ Count: 2 });
2834
m => Assert.True(m is
MetadataCountMetadata
{ Count: 6 }));
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (4)
404
Assert.Contains(endpoint.Metadata, m => m is
MetadataCountMetadata
{ Count: > 1 });
421
Assert.Contains(endpoint.Metadata, m => m is
MetadataCountMetadata
{ Count: > 1 });
438
Assert.Contains(endpoint.Metadata, m => m is
MetadataCountMetadata
{ Count: > 1 });
542
m => Assert.True(m is
MetadataCountMetadata
),