RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation 方法

定义

重载

AddRazorRuntimeCompilation(IMvcBuilder)

IMvcBuilder配置为支持 Razor 视图和 Razor 页面的运行时编译。

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

IMvcBuilder配置为支持 Razor 视图和 Razor 页面的运行时编译。

AddRazorRuntimeCompilation(IMvcBuilder)

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

IMvcBuilder配置为支持 Razor 视图和 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

参数

返回

IMvcBuilder

适用于

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

IMvcBuilder配置为支持 Razor 视图和 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

参数

返回

IMvcBuilder

适用于