Sdílet prostřednictvím


RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation Metoda

Definice

Přetížení

AddRazorRuntimeCompilation(IMvcBuilder)

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

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

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

AddRazorRuntimeCompilation(IMvcBuilder)

Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

Návraty

Hodnota IMvcBuilder

Platí pro

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Zdroj:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

Návraty

Hodnota IMvcBuilder

Platí pro