4 writes to Count
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 });
8 references to Count
Microsoft.AspNetCore.Http.Extensions.Tests (8)
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 (3)
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 });