MvcLocalizationMvcBuilderExtensions.AddViewLocalization Método

Definición

Sobrecargas

AddViewLocalization(IMvcBuilder)

Agrega los servicios de localización de vistas de MVC a la aplicación.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Agrega los servicios de localización de vistas de MVC a la aplicación.

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Agrega los servicios de localización de vistas de MVC a la aplicación.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Agrega los servicios de localización de vistas de MVC a la aplicación.

AddViewLocalization(IMvcBuilder)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

Agrega los servicios de localización de vistas de MVC a la aplicación.

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

Parámetros

Devoluciones

IMvcBuilder.

Se aplica a

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

Agrega los servicios de localización de vistas de MVC a la aplicación.

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

Parámetros

format
LanguageViewLocationExpanderFormat

El formato de vista de las vistas localizadas.

Devoluciones

IMvcBuilder.

Se aplica a

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

Agrega los servicios de localización de vistas de MVC a la aplicación.

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

Parámetros

setupAction
Action<LocalizationOptions>

Acción para configurar .LocalizationOptions

Devoluciones

IMvcBuilder.

Se aplica a

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

Agrega los servicios de localización de vistas de MVC a la aplicación.

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

Parámetros

format
LanguageViewLocationExpanderFormat

El formato de vista de las vistas localizadas.

setupAction
Action<LocalizationOptions>

Acción para configurar .LocalizationOptions

Devoluciones

IMvcBuilder.

Se aplica a