1 interface inheriting from IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsOfTHelperTests.cs (1)
128private interface IMyEndpointMetadataProvider : IEndpointMetadataProvider
80 implementations of IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Extensions.Tests (23)
RequestDelegateFactoryTests.cs (12)
3291private class AccessesServicesMetadataResult : IResult, IEndpointMetadataProvider 3304private class AccessesServicesMetadataBinder : IEndpointMetadataProvider 3326private class AddsCustomEndpointMetadataResult : IEndpointMetadataProvider, IResult 3336private class AddsNoEndpointMetadataResult : IEndpointMetadataProvider, IResult 3346private class CountsDefaultEndpointMetadataResult : IEndpointMetadataProvider, IResult 3357private class CountsDefaultEndpointMetadataPoco : IEndpointMetadataProvider 3384private class RemovesAcceptsMetadata : IEndpointMetadataProvider 3402private class RemovesAcceptsMetadataResult : IEndpointMetadataProvider, IResult 3422private class AddsCustomParameterMetadataAsProperty : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 3445private class AddsCustomParameterMetadata : IEndpointParameterMetadataProvider, IEndpointMetadataProvider//, IParsable<AddsCustomParameterMetadata> 3468private class AddsCustomParameterMetadataBindable : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 3483private class AddsRoutePatternMetadata : IEndpointMetadataProvider
RequestDelegateGenerator\SharedTypes.cs (11)
30public class CustomMetadataEmitter : IEndpointMetadataProvider, IEndpointParameterMetadataProvider 555public class AddsCustomParameterMetadataBindable : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 590public class AddsCustomParameterMetadata : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 605public class AddsCustomParameterMetadataAsProperty : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 617public class AddsCustomEndpointMetadataResult : IEndpointMetadataProvider, IResult 627public class AccessesServicesMetadataResult : IResult, IEndpointMetadataProvider 658public class RemovesAcceptsMetadataResult : IEndpointMetadataProvider, IResult 678public class AccessesServicesMetadataBinder : IEndpointMetadataProvider 923public class CountsDefaultEndpointMetadataResult : IEndpointMetadataProvider, IResult 943public class AddsRoutePatternMetadata : IEndpointMetadataProvider 956public class CountsDefaultEndpointMetadataPoco : IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Microbenchmarks (11)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (11)
30public class CustomMetadataEmitter : IEndpointMetadataProvider, IEndpointParameterMetadataProvider 555public class AddsCustomParameterMetadataBindable : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 590public class AddsCustomParameterMetadata : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 605public class AddsCustomParameterMetadataAsProperty : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 617public class AddsCustomEndpointMetadataResult : IEndpointMetadataProvider, IResult 627public class AccessesServicesMetadataResult : IResult, IEndpointMetadataProvider 658public class RemovesAcceptsMetadataResult : IEndpointMetadataProvider, IResult 678public class AccessesServicesMetadataBinder : IEndpointMetadataProvider 923public class CountsDefaultEndpointMetadataResult : IEndpointMetadataProvider, IResult 943public class AddsRoutePatternMetadata : IEndpointMetadataProvider 956public class CountsDefaultEndpointMetadataPoco : IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Results (27)
Accepted.cs (1)
17public sealed class Accepted : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
AcceptedAtRoute.cs (1)
20public sealed class AcceptedAtRoute : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
AcceptedAtRouteOfT.cs (1)
21public sealed class AcceptedAtRoute<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
AcceptedOfT.cs (1)
17public sealed class Accepted<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
BadRequest.cs (1)
16public sealed class BadRequest : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
BadRequestOfT.cs (1)
17public sealed class BadRequest<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
Conflict.cs (1)
16public sealed class Conflict : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
ConflictOfT.cs (1)
17public sealed class Conflict<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
Created.cs (1)
16public sealed class Created : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
CreatedAtRoute.cs (1)
20public sealed class CreatedAtRoute : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
CreatedAtRouteOfT.cs (1)
21public sealed class CreatedAtRoute<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
CreatedOfT.cs (1)
17public sealed class Created<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
InternalServerError.cs (1)
16public sealed class InternalServerError : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
InternalServerErrorOfT.cs (1)
17public sealed class InternalServerError<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
NoContent.cs (1)
16public class NoContent : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
NotFound.cs (1)
16public sealed class NotFound : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
NotFoundOfT.cs (1)
17public sealed class NotFound<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
Ok.cs (1)
16public sealed class Ok : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
OkOfT.cs (1)
17public sealed class Ok<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
ResultsOfT.Generated.cs (5)
24public sealed class Results<[DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult1, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult2> : IResult, INestedHttpResult, IEndpointMetadataProvider 87public sealed class Results<[DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult1, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult2, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult3> : IResult, INestedHttpResult, IEndpointMetadataProvider 159public sealed class Results<[DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult1, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult2, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult3, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult4> : IResult, INestedHttpResult, IEndpointMetadataProvider 240public sealed class Results<[DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult1, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult2, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult3, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult4, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult5> : IResult, INestedHttpResult, IEndpointMetadataProvider 330public sealed class Results<[DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult1, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult2, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult3, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult4, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult5, [DynamicallyAccessedMembers(ResultsOfTHelper.RequireMethods)] TResult6> : IResult, INestedHttpResult, IEndpointMetadataProvider
UnprocessableEntity.cs (1)
16public sealed class UnprocessableEntity : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult
UnprocessableEntityOfT.cs (1)
17public sealed class UnprocessableEntity<TValue> : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult<TValue>
ValidationProblem.cs (1)
16public sealed class ValidationProblem : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IContentTypeHttpResult, IValueHttpResult, IValueHttpResult<HttpValidationProblemDetails>
Microsoft.AspNetCore.Http.Results.Tests (10)
ResultsOfTHelperTests.cs (3)
99private class PublicMethodEndpointMetadataProvider : IEndpointMetadataProvider 107private class ExplicitMethodEndpointMetadataProvider : IEndpointMetadataProvider 115private class ExplicitAndPublicMethodEndpointMetadataProvider : IEndpointMetadataProvider
ResultsOfTTests.Generated.cs (7)
1861class ProvidesMetadataResult1 : IResult, IEndpointMetadataProvider 1875class ProvidesMetadataResult2 : IResult, IEndpointMetadataProvider 1889class ProvidesMetadataResult3 : IResult, IEndpointMetadataProvider 1903class ProvidesMetadataResult4 : IResult, IEndpointMetadataProvider 1917class ProvidesMetadataResult5 : IResult, IEndpointMetadataProvider 1931class ProvidesMetadataResult6 : IResult, IEndpointMetadataProvider 1944class ProvidesMetadataResult7 : IResult, IEndpointMetadataProvider
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\EndpointMetadataProviderTest.cs (7)
392private class AddsCustomParameterMetadata : IEndpointParameterMetadataProvider, IEndpointMetadataProvider 405private class AddsCustomEndpointMetadataResult : IEndpointMetadataProvider, IResult 415private class AddsCustomEndpointMetadataActionResult : IEndpointMetadataProvider, IActionResult 424private class AddsRoutePatternMetadata : IEndpointMetadataProvider 437private class RemovesAcceptsMetadataResult : IEndpointMetadataProvider, IResult 454private class RemovesAcceptsMetadataActionResult : IEndpointMetadataProvider, IActionResult 492private class RemovesAcceptsParameterEndpointMetadata : IEndpointMetadataProvider
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (2)
551private class AddsCustomEndpointMetadataResult : IEndpointMetadataProvider, IResult 561private class AddsCustomParameterMetadata : IEndpointParameterMetadataProvider, IEndpointMetadataProvider
63 references to IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Extensions (5)
RequestDelegateFactory.cs (1)
134/// This includes metadata inferred by <see cref="IEndpointMetadataProvider"/> and <see cref="IEndpointParameterMetadataProvider"/> implemented by parameter and return types to the <paramref name="methodInfo"/>.
RequestDelegateFactoryOptions.cs (1)
45/// the delegate signature that implement <see cref="IEndpointMetadataProvider" /> or <see cref="IEndpointParameterMetadataProvider" />. The exception to this general rule is the
src\Shared\EndpointMetadataPopulator.cs (3)
38if (typeof(IEndpointMetadataProvider).IsAssignableFrom(parameter.ParameterType)) 55if (returnType is not null && typeof(IEndpointMetadataProvider).IsAssignableFrom(returnType)) 72where T : IEndpointMetadataProvider
Microsoft.AspNetCore.Http.Results (29)
Accepted.cs (1)
79static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
AcceptedAtRoute.cs (1)
106static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
AcceptedAtRouteOfT.cs (1)
120static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
AcceptedOfT.cs (1)
98static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
BadRequest.cs (1)
49static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
BadRequestOfT.cs (1)
63static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
Conflict.cs (1)
49static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
ConflictOfT.cs (1)
63static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
Created.cs (1)
79static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
CreatedAtRoute.cs (1)
106static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
CreatedAtRouteOfT.cs (1)
123static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
CreatedOfT.cs (1)
97static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
InternalServerError.cs (1)
49static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
InternalServerErrorOfT.cs (1)
63static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
NoContent.cs (1)
49static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
NotFound.cs (1)
48static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
NotFoundOfT.cs (1)
62static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
Ok.cs (1)
48static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
OkOfT.cs (1)
62static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
ResultsOfT.Generated.cs (5)
65static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 135static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 214static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 302static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 399static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
ResultsOfTHelper.cs (2)
22if (typeof(IEndpointMetadataProvider).IsAssignableFrom(typeof(TTarget))) 59private static void PopulateMetadata<TTarget>(MethodInfo method, EndpointBuilder builder) where TTarget : IEndpointMetadataProvider
UnprocessableEntity.cs (1)
49static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
UnprocessableEntityOfT.cs (1)
63static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
ValidationProblem.cs (1)
74static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
Microsoft.AspNetCore.Http.Results.Tests (26)
AcceptedAtRouteOfTResultTests.cs (1)
208where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
AcceptedAtRouteResultTests.cs (1)
120where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
AcceptedOfTResultTests.cs (1)
132where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
AcceptedResultTests.cs (1)
77where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
BadRequestOfTResultTests.cs (1)
175where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
BadRequestResultTests.cs (1)
90where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
ConflictOfTResultTests.cs (1)
153where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
ConflictResultTests.cs (1)
91where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
CreatedAtRouteOfTResultTests.cs (1)
175where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
CreatedAtRouteResultTests.cs (1)
123where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
CreatedOfTResultTests.cs (1)
172where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
CreatedResultTests.cs (1)
111where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
InternalServerErrorOfTResultTests.cs (1)
175where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
InternalServerErrorResultTests.cs (1)
90where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
NoContentResultTests.cs (1)
87where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
NotFoundOfTResultTests.cs (1)
135where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
NotFoundResultTests.cs (1)
86where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
OkOfTResultTests.cs (1)
152where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
OkResultTests.cs (1)
89where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
ResultsOfTHelperTests.cs (3)
109static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 122static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder) 130static void IEndpointMetadataProvider.PopulateMetadata(MethodInfo method, EndpointBuilder builder)
ResultsOfTTests.cs (1)
90private static void PopulateMetadata<TTarget>(MethodInfo method, EndpointBuilder builder) where TTarget : IEndpointMetadataProvider
UnprocessableEntityOfTResultTests.cs (1)
152where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
UnprocessableEntityResultTests.cs (1)
90where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
ValidationProblemResultTests.cs (1)
174where TResult : IEndpointMetadataProvider => TResult.PopulateMetadata(method, builder);
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\EndpointMetadataPopulator.cs (3)
38if (typeof(IEndpointMetadataProvider).IsAssignableFrom(parameter.ParameterType)) 55if (returnType is not null && typeof(IEndpointMetadataProvider).IsAssignableFrom(returnType)) 72where T : IEndpointMetadataProvider