MvcLocalizationMvcBuilderExtensions.AddViewLocalization Methode

Definition

Überlädt

AddViewLocalization(IMvcBuilder)

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

AddViewLocalization(IMvcBuilder)

Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Das Ansichtsformat für lokalisierte Ansichten.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

setupAction
Action<LocalizationOptions>

Eine Aktion zum Konfigurieren von LocalizationOptions.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs
Quelle:
MvcLocalizationMvcBuilderExtensions.cs

Fügt der Anwendung MVC-Ansichtslokalisierungsdienste hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

format
LanguageViewLocationExpanderFormat

Das Ansichtsformat für lokalisierte Ansichten.

setupAction
Action<LocalizationOptions>

Eine Aktion zum Konfigurieren von LocalizationOptions.

Gibt zurück

Die IMvcBuilder.

Gilt für: