Partager via


RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation Méthode

Définition

Surcharges

AddRazorRuntimeCompilation(IMvcBuilder)

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

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

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

AddRazorRuntimeCompilation(IMvcBuilder)

Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

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

Paramètres

builder
IMvcBuilder

L’IMvcBuilderopérateur

Retours

L’IMvcBuilderopérateur

S’applique à

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

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

Paramètres

builder
IMvcBuilder

L’IMvcBuilderopérateur

Retours

L’IMvcBuilderopérateur

S’applique à