16 instantiations of CustomEndpointMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (16)
RequestDelegateFactoryTests.cs (12)
2559
var customMetadata = new
CustomEndpointMetadata
();
2677
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2699
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2722
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2745
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2768
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2789
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
2810
new
CustomEndpointMetadata
{ Source = MetadataSource.Caller }
3330
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.ReturnType });
3431
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Property });
3456
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Parameter });
3479
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Parameter });
RequestDelegateGenerator\SharedTypes.cs (4)
566
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Parameter });
601
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Parameter });
614
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.Property });
621
builder.Metadata.Add(new
CustomEndpointMetadata
{ Source = MetadataSource.ReturnType });
32 references to CustomEndpointMetadata
Microsoft.AspNetCore.Http.Extensions.Tests (32)
RequestDelegateFactoryTests.cs (16)
2559
var
customMetadata = new CustomEndpointMetadata();
2572
m => Assert.True(m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter }));
2613
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
2626
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
2639
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
2652
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
2665
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
2685
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2707
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2730
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2753
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2776
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2797
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
2798
Assert.Contains(result.EndpointMetadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
2822
m => Assert.True(m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller }),
2832
m => Assert.True(m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter }),
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (16)
227
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
242
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
257
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
272
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.ReturnType });
402
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
419
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
436
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
453
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
469
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
470
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
485
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller });
486
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
540
m => Assert.True(m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter }),
544
m => Assert.True(m is
CustomEndpointMetadata
{ Source: MetadataSource.Caller }));
560
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Parameter });
562
Assert.Contains(endpoint.Metadata, m => m is
CustomEndpointMetadata
{ Source: MetadataSource.Property });