다음을 통해 공유


LocalizationServiceCollectionExtensions.AddLocalization 메서드

정의

오버로드

AddLocalization(IServiceCollection)

애플리케이션 지역화에 필요한 서비스를 추가합니다.

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

애플리케이션 지역화에 필요한 서비스를 추가합니다.

AddLocalization(IServiceCollection)

Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs

애플리케이션 지역화에 필요한 서비스를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLocalization(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLocalization (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddLocalization : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLocalization (services As IServiceCollection) As IServiceCollection

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.

적용 대상

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs
Source:
LocalizationServiceCollectionExtensions.cs

애플리케이션 지역화에 필요한 서비스를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLocalization(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Localization::LocalizationOptions ^> ^ setupAction);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLocalization (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Localization.LocalizationOptions> setupAction);
static member AddLocalization : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLocalization (services As IServiceCollection, setupAction As Action(Of LocalizationOptions)) As IServiceCollection

매개 변수

services
IServiceCollection

서비스를 추가할 IServiceCollection입니다.

setupAction
Action<LocalizationOptions>

LocalizationOptions를 구성하기 위한 Action<T>입니다.

반환

추가 호출을 연결할 수 있도록 하는 IServiceCollection입니다.

적용 대상