Delen via


RouteEndpointBuilder Class

Definition

Supports building a new RouteEndpoint.

public ref class RouteEndpointBuilder sealed : Microsoft::AspNetCore::Builder::EndpointBuilder
public sealed class RouteEndpointBuilder : Microsoft.AspNetCore.Builder.EndpointBuilder
type RouteEndpointBuilder = class
    inherit EndpointBuilder
Public NotInheritable Class RouteEndpointBuilder
Inherits EndpointBuilder
Inheritance
RouteEndpointBuilder

Constructors

RouteEndpointBuilder(RequestDelegate, RoutePattern, Int32)

Constructs a new RouteEndpointBuilder instance.

Properties

ApplicationServices

Gets the IServiceProvider associated with the endpoint.

(Inherited from EndpointBuilder)
DisplayName

Gets or sets the informational display name of this endpoint.

(Inherited from EndpointBuilder)
FilterFactories

Gets the list of filters that apply to this endpoint.

(Inherited from EndpointBuilder)
Metadata

Gets the collection of metadata associated with this endpoint.

(Inherited from EndpointBuilder)
Order

Gets or sets the order assigned to the endpoint.

RequestDelegate

Gets or sets the delegate used to process requests for the endpoint.

(Inherited from EndpointBuilder)
RoutePattern

Gets or sets the RoutePattern associated with this endpoint.

Methods

Build()

Creates an instance of Endpoint from the EndpointBuilder.

Applies to