TessaWorkplaceService - конструктор
Пространство имён: Tessa.Views.WorkplacesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public TessaWorkplaceService(
[NotNullAttribute] Func<WorkplaceDataAccessor> accessorFactory,
[NotNullAttribute] Func<ICardRepository> cardRepositoryFactory,
[NotNullAttribute] Func<ISession> sessionFactory,
[NotNullAttribute] IConfigurationVersionProvider configurationVersionProvider,
[NotNullAttribute] IConfigurationInfoProvider configurationInfoProvider,
[NotNullAttribute] IDbScope dbScope,
[NotNullAttribute] IWorkplaceInterpreter workplaceInterpreter,
[NotNullAttribute] JsonWorkplaceUserExtensionMetadataConverter userExtensionMetadataConverter,
[NotNullAttribute] IIndentationStrategy indentationStrategy,
[NotNullAttribute] IConverter<IJsonWorkplaceUserExtensionMetadata, IWorkplaceUserExtensionMetadata> workplaceUserExtensionMetadataConverter,
WorkplacesCache workplacesCache,
[OptionalDependencyAttribute][CanBeNullAttribute] IConfigurationLogger configurationLogger = null
)
Public Sub New (
<NotNullAttribute> accessorFactory As Func(Of WorkplaceDataAccessor),
<NotNullAttribute> cardRepositoryFactory As Func(Of ICardRepository),
<NotNullAttribute> sessionFactory As Func(Of ISession),
<NotNullAttribute> configurationVersionProvider As IConfigurationVersionProvider,
<NotNullAttribute> configurationInfoProvider As IConfigurationInfoProvider,
<NotNullAttribute> dbScope As IDbScope,
<NotNullAttribute> workplaceInterpreter As IWorkplaceInterpreter,
<NotNullAttribute> userExtensionMetadataConverter As JsonWorkplaceUserExtensionMetadataConverter,
<NotNullAttribute> indentationStrategy As IIndentationStrategy,
<NotNullAttribute> workplaceUserExtensionMetadataConverter As IConverter(Of IJsonWorkplaceUserExtensionMetadata, IWorkplaceUserExtensionMetadata),
workplacesCache As WorkplacesCache,
<OptionalDependencyAttribute><CanBeNullAttribute> Optional configurationLogger As IConfigurationLogger = Nothing
)
public:
TessaWorkplaceService(
[NotNullAttribute] Func<WorkplaceDataAccessor^>^ accessorFactory,
[NotNullAttribute] Func<ICardRepository^>^ cardRepositoryFactory,
[NotNullAttribute] Func<ISession^>^ sessionFactory,
[NotNullAttribute] IConfigurationVersionProvider^ configurationVersionProvider,
[NotNullAttribute] IConfigurationInfoProvider^ configurationInfoProvider,
[NotNullAttribute] IDbScope^ dbScope,
[NotNullAttribute] IWorkplaceInterpreter^ workplaceInterpreter,
[NotNullAttribute] JsonWorkplaceUserExtensionMetadataConverter^ userExtensionMetadataConverter,
[NotNullAttribute] IIndentationStrategy^ indentationStrategy,
[NotNullAttribute] IConverter<IJsonWorkplaceUserExtensionMetadata^, IWorkplaceUserExtensionMetadata^>^ workplaceUserExtensionMetadataConverter,
WorkplacesCache^ workplacesCache,
[OptionalDependencyAttribute][CanBeNullAttribute] IConfigurationLogger^ configurationLogger = nullptr
)
new :
[<NotNullAttribute>] accessorFactory : Func<WorkplaceDataAccessor> *
[<NotNullAttribute>] cardRepositoryFactory : Func<ICardRepository> *
[<NotNullAttribute>] sessionFactory : Func<ISession> *
[<NotNullAttribute>] configurationVersionProvider : IConfigurationVersionProvider *
[<NotNullAttribute>] configurationInfoProvider : IConfigurationInfoProvider *
[<NotNullAttribute>] dbScope : IDbScope *
[<NotNullAttribute>] workplaceInterpreter : IWorkplaceInterpreter *
[<NotNullAttribute>] userExtensionMetadataConverter : JsonWorkplaceUserExtensionMetadataConverter *
[<NotNullAttribute>] indentationStrategy : IIndentationStrategy *
[<NotNullAttribute>] workplaceUserExtensionMetadataConverter : IConverter<IJsonWorkplaceUserExtensionMetadata, IWorkplaceUserExtensionMetadata> *
workplacesCache : WorkplacesCache *
[<OptionalDependencyAttribute>][<CanBeNullAttribute>] ?configurationLogger : IConfigurationLogger
(* Defaults:
let _configurationLogger = defaultArg configurationLogger null
*)
-> TessaWorkplaceService
Параметры
- accessorFactory FuncWorkplaceDataAccessor
-
Доступ к базе данных для чтения моделей рабочих мест
- cardRepositoryFactory FuncICardRepository
-
Репозиторий карточек
- sessionFactory FuncISession
-
Функция получения доступа к сессии
- configurationVersionProvider IConfigurationVersionProvider
-
The configuration version provider.
- configurationInfoProvider IConfigurationInfoProvider
-
Объект, предоставляющий информацию по текущей конфигурации.
- dbScope IDbScope
-
Объект для взаимодействия с базой данных
- workplaceInterpreter IWorkplaceInterpreter
-
Интерпретатор рабочих мест
- userExtensionMetadataConverter JsonWorkplaceUserExtensionMetadataConverter
-
Конвертер, преобразующий JsonWorkplaceUserExtensionMetadata
в IWorkplaceUserExtensionMetadata.
- indentationStrategy IIndentationStrategy
-
Стратегия выравнивания
- workplaceUserExtensionMetadataConverter IConverterIJsonWorkplaceUserExtensionMetadata, IWorkplaceUserExtensionMetadata
-
Конвертер, преобразующий IJsonWorkplaceUserExtensionMetadata
в IWorkplaceUserExtensionMetadata.
- workplacesCache WorkplacesCache
- Кэш, содержащий метаинформацию по всем РМ.
- configurationLogger IConfigurationLogger (Optional)
-
Объект, выполняющий логирование при изменении конфигурации,
или null, если логирование не требуется.