次の方法で共有


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews メソッド

定義

オーバーロード

AddViews(IMvcCoreBuilder)

ビュー関連のサービスを追加します。

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

ビュー関連のサービスを追加します。

AddViews(IMvcCoreBuilder)

ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

ビュー関連のサービスを追加します。

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

パラメーター

戻り値

IMvcCoreBuilder

適用対象

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
ソース:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

ビュー関連のサービスを追加します。

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

パラメーター

setupAction
Action<MvcViewOptions>

のセットアップ アクション MvcViewOptions

戻り値

IMvcCoreBuilder

適用対象