Sdílet prostřednictvím


RoutingEndpointConventionBuilderExtensions.WithOrder<TBuilder> Metoda

Definice

Nastaví na Order zadaný order pro všechny tvůrce vytvořené nástrojem 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

Parametry typu

TBuilder

Parametry

builder
TBuilder

Hodnota IEndpointConventionBuilder

order
Int32

Pořadí přiřazené koncovému bodu.

Návraty

TBuilder

Hodnota IEndpointConventionBuilder

Platí pro