Partilhar via


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews Método

Definição

Sobrecargas

AddViews(IMvcCoreBuilder)

Adicionar serviços relacionados à exibição.

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Adicionar serviços relacionados à exibição.

AddViews(IMvcCoreBuilder)

Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Adicionar serviços relacionados à exibição.

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

Parâmetros

Retornos

O IMvcCoreBuilder.

Aplica-se a

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Origem:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Adicionar serviços relacionados à exibição.

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

Parâmetros

setupAction
Action<MvcViewOptions>

A ação de configuração para MvcViewOptions.

Retornos

O IMvcCoreBuilder.

Aplica-se a