共用方式為


WebApiCompatShimMvcBuilderExtensions.AddWebApiConventions(IMvcBuilder) 方法

定義

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddWebApiConventions (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddWebApiConventions : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddWebApiConventions (builder As IMvcBuilder) As IMvcBuilder

參數

builder
IMvcBuilder

傳回

適用於