TessaWorkplaceService - конструктор |
Пространство имён:
Tessa.Views.Workplaces
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public TessaWorkplaceService(
[NotNullAttribute] Func<WorkplaceDataAccessor> accessorFactory,
[NotNullAttribute] Func<ICardRepository> cardRepositoryFactory,
[NotNullAttribute] Func<ISession> sessionFactory,
[NotNullAttribute] IConfigurationVersionProvider configurationVersionProvider,
[NotNullAttribute] IConfigurationInfoProvider configurationInfoProvider,
[NotNullAttribute] IDbScope dbScope,
[NotNullAttribute] UserExtensionsSerializer userExtensionsSerializer,
[NotNullAttribute] IWorkplaceInterpreter workplaceInterpreter,
[NotNullAttribute] Func<IWorkplaceUserExtensionMetadata> userExtensionMetadataFactory,
[NotNullAttribute] IIndentationStrategy indentationStrategy,
[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> userExtensionsSerializer As UserExtensionsSerializer,
<NotNullAttribute> workplaceInterpreter As IWorkplaceInterpreter,
<NotNullAttribute> userExtensionMetadataFactory As Func(Of IWorkplaceUserExtensionMetadata),
<NotNullAttribute> indentationStrategy As IIndentationStrategy,
<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] UserExtensionsSerializer^ userExtensionsSerializer,
[NotNullAttribute] IWorkplaceInterpreter^ workplaceInterpreter,
[NotNullAttribute] Func<IWorkplaceUserExtensionMetadata^>^ userExtensionMetadataFactory,
[NotNullAttribute] IIndentationStrategy^ indentationStrategy,
[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>] userExtensionsSerializer : UserExtensionsSerializer *
[<NotNullAttribute>] workplaceInterpreter : IWorkplaceInterpreter *
[<NotNullAttribute>] userExtensionMetadataFactory : Func<IWorkplaceUserExtensionMetadata> *
[<NotNullAttribute>] indentationStrategy : IIndentationStrategy *
[<OptionalDependencyAttribute>][<CanBeNullAttribute>] ?configurationLogger : IConfigurationLogger
(* Defaults:
let _configurationLogger = defaultArg configurationLogger null
*)
-> TessaWorkplaceService
Параметры
- accessorFactory
- Тип: SystemFuncWorkplaceDataAccessor
Доступ к базе данных для чтения моделей рабочих мест
- cardRepositoryFactory
- Тип: SystemFuncICardRepository
Репозиторий карточек
- sessionFactory
- Тип: SystemFuncISession
Функция получения доступа к сессии
- configurationVersionProvider
- Тип: Tessa.Platform.RuntimeIConfigurationVersionProvider
The configuration version provider.
- configurationInfoProvider
- Тип: Tessa.Platform.RuntimeIConfigurationInfoProvider
Объект, предоставляющий информацию по текущей конфигурации.
- dbScope
- Тип: Tessa.Platform.DataIDbScope
Объект для взаимодействия с базой данных
- userExtensionsSerializer
- Тип: Tessa.Views.Parser.SerializationUserExtensionsSerializer
Сериализатор настроек рабочего места.
- workplaceInterpreter
- Тип: Tessa.Views.Parser.SyntaxTree.WorkplaceIWorkplaceInterpreter
Интерпретатор рабочих мест
- userExtensionMetadataFactory
- Тип: SystemFuncIWorkplaceUserExtensionMetadata
Фабрика создания метаданных настроек рабочего места
- indentationStrategy
- Тип: Tessa.Views.ParserIIndentationStrategy
Стратегия выравнивания
- configurationLogger (Optional)
- Тип: Tessa.Platform.ConfigurationIConfigurationLogger
Объект, выполняющий логирование при изменении конфигурации,
или null, если логирование не требуется.
См. также