LocalizationService - конструктор
Пространство имён: Tessa.LocalizationСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public LocalizationService(
LocalizationCache localizationCache,
ILocalizationService localizationService,
IDbScope dbScope,
IConfigurationVersionProvider configurationVersionProvider,
IConfigurationInfoProvider configurationInfoProvider,
[OptionalDependencyAttribute] IConfigurationLogger? configurationLogger = null,
[OptionalDependencyAttribute] IFallbackLanguageProvider? fallbackLanguageProvider = null,
[OptionalDependencyAttribute] ILocalizationService? overridingService = null,
[OptionalDependencyAttribute] IUnityDisposableContainer? disposableContainer = null
)
Public Sub New (
localizationCache As LocalizationCache,
localizationService As ILocalizationService,
dbScope As IDbScope,
configurationVersionProvider As IConfigurationVersionProvider,
configurationInfoProvider As IConfigurationInfoProvider,
<OptionalDependencyAttribute> Optional configurationLogger As IConfigurationLogger = Nothing,
<OptionalDependencyAttribute> Optional fallbackLanguageProvider As IFallbackLanguageProvider = Nothing,
<OptionalDependencyAttribute> Optional overridingService As ILocalizationService = Nothing,
<OptionalDependencyAttribute> Optional disposableContainer As IUnityDisposableContainer = Nothing
)
public:
LocalizationService(
LocalizationCache^ localizationCache,
ILocalizationService^ localizationService,
IDbScope^ dbScope,
IConfigurationVersionProvider^ configurationVersionProvider,
IConfigurationInfoProvider^ configurationInfoProvider,
[OptionalDependencyAttribute] IConfigurationLogger^ configurationLogger = nullptr,
[OptionalDependencyAttribute] IFallbackLanguageProvider^ fallbackLanguageProvider = nullptr,
[OptionalDependencyAttribute] ILocalizationService^ overridingService = nullptr,
[OptionalDependencyAttribute] IUnityDisposableContainer^ disposableContainer = nullptr
)
new :
localizationCache : LocalizationCache *
localizationService : ILocalizationService *
dbScope : IDbScope *
configurationVersionProvider : IConfigurationVersionProvider *
configurationInfoProvider : IConfigurationInfoProvider *
[<OptionalDependencyAttribute>] ?configurationLogger : IConfigurationLogger *
[<OptionalDependencyAttribute>] ?fallbackLanguageProvider : IFallbackLanguageProvider *
[<OptionalDependencyAttribute>] ?overridingService : ILocalizationService *
[<OptionalDependencyAttribute>] ?disposableContainer : IUnityDisposableContainer
(* Defaults:
let _configurationLogger = defaultArg configurationLogger null
let _fallbackLanguageProvider = defaultArg fallbackLanguageProvider null
let _overridingService = defaultArg overridingService null
let _disposableContainer = defaultArg disposableContainer null
*)
-> LocalizationService
Параметры
- localizationCache LocalizationCache
-
- localizationService ILocalizationService
-
- dbScope IDbScope
-
- configurationVersionProvider IConfigurationVersionProvider
-
- configurationInfoProvider IConfigurationInfoProvider
-
- configurationLogger IConfigurationLogger (Optional)
-
- fallbackLanguageProvider IFallbackLanguageProvider (Optional)
-
- overridingService ILocalizationService (Optional)
-
- disposableContainer IUnityDisposableContainer (Optional)
-