Condividi tramite


MvcLocalizationMvcBuilderExtensions.AddViewLocalization Metodo

Definizione

Overload

AddViewLocalization(IMvcBuilder)

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

AddViewLocalization(IMvcBuilder)

Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcBuilder, format As LanguageViewLocationExpanderFormat) As IMvcBuilder

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Formato di visualizzazione per le viste localizzate.

Restituisce

Oggetto IMvcBuilder.

Si applica a

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions> setupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions>? setupAction);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcBuilder, setupAction As Action(Of LocalizationOptions)) As IMvcBuilder

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

setupAction
Action<LocalizationOptions>

Azione per configurare .LocalizationOptions

Restituisce

Oggetto IMvcBuilder.

Si applica a

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs
Origine:
MvcLocalizationMvcBuilderExtensions.cs

Aggiunge i servizi di localizzazione delle visualizzazioni MVC all'applicazione.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.Extensions.Localization.LocalizationOptions> setupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.Extensions.Localization.LocalizationOptions>? setupAction);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat * Action<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcBuilder, format As LanguageViewLocationExpanderFormat, setupAction As Action(Of LocalizationOptions)) As IMvcBuilder

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Formato di visualizzazione per le viste localizzate.

setupAction
Action<LocalizationOptions>

Azione per configurare .LocalizationOptions

Restituisce

Oggetto IMvcBuilder.

Si applica a