MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine メソッド

定義

オーバーロード

AddRazorViewEngine(IMvcCoreBuilder)

Razor ビュー エンジン サービスを登録します。

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Razor ビュー エンジン サービスを登録します。

AddRazorViewEngine(IMvcCoreBuilder)

Razor ビュー エンジン サービスを登録します。

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

パラメーター

戻り値

IMvcCoreBuilder

適用対象

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Razor ビュー エンジン サービスを登録します。

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

パラメーター

setupAction
Action<RazorViewEngineOptions>

を構成する RazorViewEngineOptionsセットアップ アクション。

戻り値

IMvcCoreBuilder

適用対象