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