2 instantiations of CustomEndpointMetadata
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (2)
555builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.ReturnType }); 572builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.Parameter });
4 references to CustomEndpointMetadata
Microsoft.AspNetCore.Routing.Tests (4)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (4)
494Assert.IsAssignableFrom<CustomEndpointMetadata>(m); 495Assert.Equal(MetadataSource.Parameter, ((CustomEndpointMetadata)m).Source); 499Assert.IsAssignableFrom<CustomEndpointMetadata>(m); 500Assert.Equal(MetadataSource.ReturnType, ((CustomEndpointMetadata)m).Source);