5 instantiations of CustomEndpointMetadata
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (5)
107builder => builder.Metadata.Add(new CustomEndpointMetadata() { Source = MetadataSource.Caller }), 111builder => builder.Metadata.Add(new CustomEndpointMetadata() { Source = MetadataSource.Finally }), 401builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.Parameter }); 409builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.ReturnType }); 419builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.ReturnType });
9 references to CustomEndpointMetadata
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\EndpointMetadataProviderTest.cs (9)
38Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType }); 49endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType }), 50endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType })); 82Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.Parameter }); 93endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.Parameter }), 94endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.Parameter })); 121m => Assert.True(m is CustomEndpointMetadata { Source: MetadataSource.Caller }), 123m => Assert.True(m is CustomEndpointMetadata { Source: MetadataSource.Parameter }), 128m => Assert.True(m is CustomEndpointMetadata { Source: MetadataSource.Finally }),