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