Sdílet prostřednictvím


RazorRuntimeCompilationMvcCoreBuilderExtensions.AddRazorRuntimeCompilation Metoda

Definice

Přetížení

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Konfiguruje IMvcCoreBuilder pro podporu kompilace za běhu zobrazení Razor a Razor Pages.

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Konfiguruje IMvcCoreBuilder pro podporu kompilace za běhu zobrazení Razor a Razor Pages.

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Konfiguruje IMvcCoreBuilder pro podporu kompilace za běhu zobrazení Razor a 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

Parametry

Návraty

Hodnota IMvcCoreBuilder

Platí pro

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Konfiguruje IMvcCoreBuilder pro podporu kompilace za běhu zobrazení Razor a 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

Parametry

Návraty

Hodnota IMvcCoreBuilder

Platí pro