AddDeputyAiAgentPlugin - конструктор
Плагин ИИ-агента для работы с замещениями. Содержит один инструмент для добавления замещения сотрудников.
Пространство имён: Tessa.Extensions.Default.Server.Ai.PluginsСборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public AddDeputyAiAgentPlugin(
IAiEmployeeSearchService aiViewSearchService,
IKrTypesCache krTypesCache,
IDeputiesManagementSettingsProvider deputiesSettingsProvider,
IMdLinkProvider mdLinkProvider,
IDbScope dbScope,
[DependencyAttribute("Extended")] ICardRepository cardRepository,
ITransactionStrategy transactionStrategy
)
Public Sub New (
aiViewSearchService As IAiEmployeeSearchService,
krTypesCache As IKrTypesCache,
deputiesSettingsProvider As IDeputiesManagementSettingsProvider,
mdLinkProvider As IMdLinkProvider,
dbScope As IDbScope,
<DependencyAttribute("Extended")> cardRepository As ICardRepository,
transactionStrategy As ITransactionStrategy
)
public:
AddDeputyAiAgentPlugin(
IAiEmployeeSearchService^ aiViewSearchService,
IKrTypesCache^ krTypesCache,
IDeputiesManagementSettingsProvider^ deputiesSettingsProvider,
IMdLinkProvider^ mdLinkProvider,
IDbScope^ dbScope,
[DependencyAttribute(L"Extended")] ICardRepository^ cardRepository,
ITransactionStrategy^ transactionStrategy
)
new :
aiViewSearchService : IAiEmployeeSearchService *
krTypesCache : IKrTypesCache *
deputiesSettingsProvider : IDeputiesManagementSettingsProvider *
mdLinkProvider : IMdLinkProvider *
dbScope : IDbScope *
[<DependencyAttribute("Extended")>] cardRepository : ICardRepository *
transactionStrategy : ITransactionStrategy -> AddDeputyAiAgentPlugin
Параметры
- aiViewSearchService IAiEmployeeSearchService
Service for searching employees in the view.
- krTypesCache IKrTypesCache
Кэш по типам карточек и документов, содержащих информацию по типовому решению.
- deputiesSettingsProvider IDeputiesManagementSettingsProvider
- mdLinkProvider IMdLinkProvider
Провайдер ссылок по протоколу веб-клиента TESSA в виде
Markdown.
Формирует ссылки вида: [текст_ссылки](режим_открытия:url).
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- cardRepository ICardRepository
Репозиторий для управления карточками.
- transactionStrategy ITransactionStrategy
Стратегия выполнения кода в SQL-транзакции. SQL-транзакция открывается только в том случае,
если на этом соединении с БД отсутствует другая незакрытая транзакция.