Udostępnij za pośrednictwem


MvcViewFeaturesMvcCoreBuilderExtensions.AddViews Metoda

Definicja

Przeciążenia

AddViews(IMvcCoreBuilder)

Dodaj usługi powiązane z widokami.

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Dodaj usługi powiązane z widokami.

AddViews(IMvcCoreBuilder)

Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Dodaj usługi powiązane z widokami.

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

Parametry

builder
IMvcCoreBuilder

Element IMvcCoreBuilder.

Zwraca

Element IMvcCoreBuilder.

Dotyczy

AddViews(IMvcCoreBuilder, Action<MvcViewOptions>)

Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs
Źródło:
MvcViewFeaturesMvcCoreBuilderExtensions.cs

Dodaj usługi powiązane z widokami.

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

Parametry

builder
IMvcCoreBuilder

Element IMvcCoreBuilder.

setupAction
Action<MvcViewOptions>

Akcja instalacji dla elementu MvcViewOptions.

Zwraca

Element IMvcCoreBuilder.

Dotyczy