C# Class Microsoft.Extensions.DependencyInjection.SqlLocalizationServiceCollectionExtensions

Extension methods for adding localization servics to the DI container.
Datei anzeigen Open project: damienbod/AspNet5Localization

Public Methods

Method Description
AddSqlLocalization ( this services ) : IServiceCollection

Adds services required for application localization.

AddSqlLocalization ( this services, Action setupAction ) : IServiceCollection

Adds services required for application localization.

Method Details

AddSqlLocalization() public static method

Adds services required for application localization.
public static AddSqlLocalization ( this services ) : IServiceCollection
services this The to add the services to.
return IServiceCollection

AddSqlLocalization() public static method

Adds services required for application localization.
public static AddSqlLocalization ( this services, Action setupAction ) : IServiceCollection
services this The to add the services to.
setupAction Action An action to configure the .
return IServiceCollection