MiddlewarePipelineDebugEndpoint Class

Represents one endpoint in the endpoint data source collection.

public sealed class MiddlewarePipelineDebugEndpoint

Constructors

NameDescription
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

NameDescription
DisplayNameGets the endpoint display name.
EndpointGets the underlying endpoint instance, or null when the snapshot was deserialized.
EndpointTypeGets the endpoint implementation type.
HttpMethodsGets the allowed HTTP methods for the endpoint.
OrderGets the route order if this endpoint is a RouteEndpoint.
RoutePatternGets the route pattern if this endpoint is a RouteEndpoint.

Gets the endpoint display name.

public string? DisplayName { get; init; }

Property value

string?

Gets the underlying endpoint instance, or null when the snapshot was deserialized.

public Endpoint? Endpoint { get; init; }

Property value

Endpoint?

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.

Gets the endpoint implementation type.

public required string EndpointType { get; init; }

Property value

string

Gets the allowed HTTP methods for the endpoint.

public required IReadOnlyList<string> HttpMethods { get; init; }

Property value

IReadOnlyList<string>

Gets the route order if this endpoint is a RouteEndpoint.

public int? Order { get; init; }

Property value

int?

Gets the route pattern if this endpoint is a RouteEndpoint.

public string? RoutePattern { get; init; }

Property value

string?