Implemented interface member:
property
IsOptional
Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata.IsOptional
1 write to IsOptional
Microsoft.AspNetCore.Http.Abstractions (1)
Metadata\AcceptsMetadata.cs (1)
27
IsOptional
= isOptional;
3 references to IsOptional
Microsoft.AspNetCore.Http.Abstractions (2)
Metadata\AcceptsMetadata.cs (2)
48
return DebuggerHelpers.GetDebugText(nameof(ContentTypes), ContentTypes, nameof(RequestType), RequestType, nameof(
IsOptional
),
IsOptional
, includeNullValues: false, prefix: "Accepts");
Microsoft.AspNetCore.Routing.Tests (1)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
118
Assert.False(metadata.
IsOptional
);