Partilhar via


MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine Método

Definição

Sobrecargas

AddRazorViewEngine(IMvcCoreBuilder)

Registra os serviços do mecanismo de exibição razor.

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Registra os serviços do mecanismo de exibição razor.

AddRazorViewEngine(IMvcCoreBuilder)

Origem:
MvcRazorMvcCoreBuilderExtensions.cs
Origem:
MvcRazorMvcCoreBuilderExtensions.cs
Origem:
MvcRazorMvcCoreBuilderExtensions.cs

Registra os serviços do mecanismo de exibição 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

Parâmetros

Retornos

O IMvcCoreBuilder.

Aplica-se a

AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)

Origem:
MvcRazorMvcCoreBuilderExtensions.cs
Origem:
MvcRazorMvcCoreBuilderExtensions.cs
Origem:
MvcRazorMvcCoreBuilderExtensions.cs

Registra os serviços do mecanismo de exibição 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

Parâmetros

setupAction
Action<RazorViewEngineOptions>

Uma ação de configuração que configura o RazorViewEngineOptions.

Retornos

O IMvcCoreBuilder.

Aplica-se a