MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AddRazorViewEngine(IMvcCoreBuilder) |
Registriert Razor View Engine-Dienste. |
AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>) |
Registriert Razor View Engine-Dienste. |
AddRazorViewEngine(IMvcCoreBuilder)
Registriert Razor View Engine-Dienste.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorViewEngine (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddRazorViewEngine : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorViewEngine (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parameter
- builder
- IMvcCoreBuilder
Die IMvcCoreBuilder.
Gibt zurück
Die IMvcCoreBuilder.
Gilt für:
AddRazorViewEngine(IMvcCoreBuilder, Action<RazorViewEngineOptions>)
Registriert Razor View Engine-Dienste.
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorViewEngine (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> setupAction);
static member AddRazorViewEngine : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorViewEngine (builder As IMvcCoreBuilder, setupAction As Action(Of RazorViewEngineOptions)) As IMvcCoreBuilder
Parameter
- builder
- IMvcCoreBuilder
Die IMvcCoreBuilder.
- setupAction
- Action<RazorViewEngineOptions>
Eine Setupaktion, die konfiguriert.RazorViewEngineOptions
Gibt zurück
Die IMvcCoreBuilder.