Freigeben über


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews Methode

Definition

Überlädt

AddViews(IMvcCoreBuilder)

Hinzufügen von ansichtsbezogenen Diensten.

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Hinzufügen von ansichtsbezogenen Diensten.

AddViews(IMvcCoreBuilder)

Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Hinzufügen von ansichtsbezogenen Diensten.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViews (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddViews : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViews (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parameter

Gibt zurück

Die IMvcCoreBuilder.

Gilt für:

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Quelle:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Hinzufügen von ansichtsbezogenen Diensten.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViews (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.MvcViewOptions> setupAction);
static member AddViews : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.MvcViewOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViews (builder As IMvcCoreBuilder, setupAction As Action(Of MvcViewOptions)) As IMvcCoreBuilder

Parameter

setupAction
Action<MvcViewOptions>

Die Setupaktion für MvcViewOptions.

Gibt zurück

Die IMvcCoreBuilder.

Gilt für: