MiddlewarePipelineDebugEndpoint Class
Represents one endpoint in the endpoint data source collection.
public sealed class MiddlewarePipelineDebugEndpointConstructors
| Name | Description |
|---|---|
| MiddlewarePipelineDebugEndpoint() |
MiddlewarePipelineDebugEndpoint()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MiddlewarePipelineDebugEndpoint()No documentation is available.
Properties
| Name | Description |
|---|---|
| DisplayName | Gets the endpoint display name. |
| Endpoint | Gets the underlying endpoint instance, or null when the snapshot was deserialized. |
| EndpointType | Gets the endpoint implementation type. |
| HttpMethods | Gets the allowed HTTP methods for the endpoint. |
| Order | Gets the route order if this endpoint is a RouteEndpoint. |
| RoutePattern | Gets the route pattern if this endpoint is a RouteEndpoint. |
DisplayName
MiddlewarePipelineDebugEndpoint.csGets the underlying endpoint instance, or null when the snapshot was deserialized.
public Endpoint? Endpoint { get; init; }Property value
Remarks
This property is excluded from serialization, so a snapshot obtained from the debug endpoint's JSON always has it set to null. It is only populated on a snapshot created in the same process.
EndpointType
MiddlewarePipelineDebugEndpoint.csHttpMethods
MiddlewarePipelineDebugEndpoint.csGets the allowed HTTP methods for the endpoint.
public required IReadOnlyList<string> HttpMethods { get; init; }Property value
Gets the route order if this endpoint is a RouteEndpoint.
public int? Order { get; init; }Property value
RoutePattern
MiddlewarePipelineDebugEndpoint.csGets the route pattern if this endpoint is a RouteEndpoint.
public string? RoutePattern { get; init; }