MvcViewFeaturesMvcCoreBuilderExtensions.ConfigureViews メソッド

定義

MvcViewOptions を構成する。

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

パラメーター

setupAction
Action<MvcViewOptions>

セットアップ アクション。

戻り値

IMvcCoreBuilder

適用対象