Condividi tramite


RoutingEndpointConventionBuilderExtensions.WithOrder<TBuilder> Metodo

Definizione

Imposta l'oggetto sull'oggetto Order fornito order per tutti i generatori creati da 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

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Oggetto IEndpointConventionBuilder.

order
Int32

Ordine assegnato all'endpoint.

Restituisce

TBuilder

Oggetto IEndpointConventionBuilder.

Si applica a