Condividi tramite


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews Metodo

Definizione

Overload

AddViews(IMvcCoreBuilder)

Aggiungere servizi correlati alla visualizzazione.

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Aggiungere servizi correlati alla visualizzazione.

AddViews(IMvcCoreBuilder)

Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Aggiungere servizi correlati alla visualizzazione.

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origine:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Aggiungere servizi correlati alla visualizzazione.

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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

setupAction
Action<MvcViewOptions>

Azione di installazione per MvcViewOptions.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a