RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddRazorRuntimeCompilation(IMvcBuilder) |
Configura para dar suporte à compilação de runtime de modos IMvcBuilder de exibição razor e Razor Pages. |
AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>) |
Configura para dar suporte à compilação de runtime de modos IMvcBuilder de exibição razor e Razor Pages. |
AddRazorRuntimeCompilation(IMvcBuilder)
Configura para dar suporte à compilação de runtime de modos IMvcBuilder de exibição razor e Razor Pages.
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcBuilder) As IMvcBuilder
Parâmetros
- builder
- IMvcBuilder
O IMvcBuilder.
Retornos
O IMvcBuilder.
Aplica-se a
AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)
Configura para dar suporte à compilação de runtime de modos IMvcBuilder de exibição razor e Razor Pages.
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> setupAction);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcBuilder, setupAction As Action(Of MvcRazorRuntimeCompilationOptions)) As IMvcBuilder
Parâmetros
- builder
- IMvcBuilder
O IMvcBuilder.
- setupAction
- Action<MvcRazorRuntimeCompilationOptions>
Uma ação para configurar o MvcRazorRuntimeCompilationOptions.
Retornos
O IMvcBuilder.