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