次の方法で共有


MvcCoreMvcCoreBuilderExtensions.AddMvcOptions メソッド

定義

を構成 MvcOptionsするアクションを登録します。

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddMvcOptions (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.MvcOptions> setupAction);
static member AddMvcOptions : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.MvcOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddMvcOptions (builder As IMvcCoreBuilder, setupAction As Action(Of MvcOptions)) As IMvcCoreBuilder

パラメーター

setupAction
Action<MvcOptions>

Action<T>

戻り値

IMvcCoreBuilder

適用対象