RoutingEndpointConventionBuilderExtensions.WithOrder<TBuilder> Método

Definição

Define o Order como o fornecido order para todos os construtores criados por builder.

public static TBuilder WithOrder<TBuilder> (this TBuilder builder, int order) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member WithOrder : 'Builder * int -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function WithOrder(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, order As Integer) As TBuilder

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O IEndpointConventionBuilder.

order
Int32

A ordem atribuída ao ponto de extremidade.

Retornos

TBuilder

O IEndpointConventionBuilder.

Aplica-se a