共用方式為


LocalizationServiceCollectionExtensions Class

Definition

Extension methods for setting up localization services in an IServiceCollection.

public ref class LocalizationServiceCollectionExtensions abstract sealed
public static class LocalizationServiceCollectionExtensions
type LocalizationServiceCollectionExtensions = class
Public Module LocalizationServiceCollectionExtensions
Inheritance
LocalizationServiceCollectionExtensions

Methods

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

Adds services required for application localization.

AddLocalization(IServiceCollection)

Adds services required for application localization.

Applies to