RazorRuntimeCompilationMvcCoreBuilderExtensions.AddRazorRuntimeCompilation 方法

定义

重载

AddRazorRuntimeCompilation(IMvcCoreBuilder)

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

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

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

AddRazorRuntimeCompilation(IMvcCoreBuilder)

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

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

参数

返回

IMvcCoreBuilder

适用于

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

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

参数

返回

IMvcCoreBuilder

适用于