LocalizationServiceCollectionExtensions 類別

定義

IServiceCollection 中設定當地語系化服務的擴充方法。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
繼承
LocalizationServiceCollectionExtensions

方法

AddLocalization(IServiceCollection)

新增應用程式當地語系化所需的服務。Adds services required for application localization.

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

新增應用程式當地語系化所需的服務。Adds services required for application localization.

適用於