RoutingEndpointConventionBuilderExtensions.WithOrder<TBuilder> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Order將 設定為 針對 所 builder
建立的所有產生器所提供的 order
。
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
類型參數
- TBuilder
參數
- builder
- TBuilder
- order
- Int32
指派給端點的順序。
傳回
TBuilder