Partager via


RazorRuntimeCompilationMvcCoreBuilderExtensions.AddRazorRuntimeCompilation Méthode

Définition

Surcharges

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Configure pour IMvcCoreBuilder prendre en charge la compilation au runtime des vues Razor et des pages Razor.

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Configure pour IMvcCoreBuilder prendre en charge la compilation au runtime des vues Razor et des pages Razor.

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Configure pour IMvcCoreBuilder prendre en charge la compilation au runtime des vues Razor et des pages Razor.

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

Paramètres

builder
IMvcCoreBuilder

L’IMvcCoreBuilderopérateur

Retours

L’IMvcCoreBuilderopérateur

S’applique à

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Configure pour IMvcCoreBuilder prendre en charge la compilation au runtime des vues Razor et des pages Razor.

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

Paramètres

builder
IMvcCoreBuilder

L’IMvcCoreBuilderopérateur

Retours

L’IMvcCoreBuilderopérateur

S’applique à