Udostępnij za pośrednictwem


MvcLocalizationMvcBuilderExtensions.AddViewLocalization Metoda

Definicja

Przeciążenia

AddViewLocalization(IMvcBuilder)

Dodaje usługi lokalizacji widoku MVC do aplikacji.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Dodaje usługi lokalizacji widoku MVC do aplikacji.

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Dodaje usługi lokalizacji widoku MVC do aplikacji.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Dodaje usługi lokalizacji widoku MVC do aplikacji.

AddViewLocalization(IMvcBuilder)

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

Dodaje usługi lokalizacji widoku MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

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

Dodaje usługi lokalizacji widoku MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Format widoku dla zlokalizowanych widoków.

Zwraca

Element IMvcBuilder.

Dotyczy

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

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

Dodaje usługi lokalizacji widoku MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

setupAction
Action<LocalizationOptions>

Akcja konfigurowania elementu LocalizationOptions.

Zwraca

Element IMvcBuilder.

Dotyczy

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

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

Dodaje usługi lokalizacji widoku MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Format widoku dla zlokalizowanych widoków.

setupAction
Action<LocalizationOptions>

Akcja konfigurowania elementu LocalizationOptions.

Zwraca

Element IMvcBuilder.

Dotyczy