RazorRuntimeCompilationMvcCoreBuilderExtensions.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(IMvcCoreBuilder) |
IMvcCoreBuilder Configura para dar suporte à compilação de runtime de modos de exibição razor e Razor Pages. |
AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>) |
IMvcCoreBuilder Configura para dar suporte à compilação de runtime de modos de exibição razor e Razor Pages. |
AddRazorRuntimeCompilation(IMvcCoreBuilder)
IMvcCoreBuilder Configura para dar suporte à compilação de runtime de modos de exibição razor e Razor Pages.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
Retornos
Aplica-se a
AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)
IMvcCoreBuilder Configura para dar suporte à compilação de runtime de modos de exibição razor e Razor Pages.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> setupAction);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcCoreBuilder, setupAction As Action(Of MvcRazorRuntimeCompilationOptions)) As IMvcCoreBuilder
Parâmetros
- builder
- IMvcCoreBuilder
- setupAction
- Action<MvcRazorRuntimeCompilationOptions>
Uma ação para configurar o MvcRazorRuntimeCompilationOptions.