RouteHandlerBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds conventions that will be used for customization of MapAction EndpointBuilder instances.
public sealed class RouteHandlerBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type RouteHandlerBuilder = class
interface IEndpointConventionBuilder
Public NotInheritable Class RouteHandlerBuilder
Implements IEndpointConventionBuilder
- Inheritance
-
RouteHandlerBuilder
- Implements
Constructors
RouteHandlerBuilder(IEnumerable<IEndpointConventionBuilder>) |
Instantiates a new RouteHandlerBuilder given multiple IEndpointConventionBuilder instances. |
Methods
Add(Action<EndpointBuilder>) |
Adds the specified convention to the builder. Conventions are used to customize EndpointBuilder instances. |
Finally(Action<EndpointBuilder>) |
Registers the specified convention for execution after conventions registered via Add(Action<EndpointBuilder>) |