FileContentHandler - конструктор
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.6+4a6cbd59b2fb8843c9938ab551fae92e13c8542c
public FileContentHandler(
string handlerType,
IDbScope dbScope,
ICardCache cardCache,
ICardGetStrategy cardGetStrategy,
ITempFileLinkProvider tempFileLinkProvider,
IFileContentPermissionsManager permissionsManager,
IFileContentActionHistoryStrategy contentHistoryStrategy
)
Public Sub New (
handlerType As String,
dbScope As IDbScope,
cardCache As ICardCache,
cardGetStrategy As ICardGetStrategy,
tempFileLinkProvider As ITempFileLinkProvider,
permissionsManager As IFileContentPermissionsManager,
contentHistoryStrategy As IFileContentActionHistoryStrategy
)
public:
FileContentHandler(
String^ handlerType,
IDbScope^ dbScope,
ICardCache^ cardCache,
ICardGetStrategy^ cardGetStrategy,
ITempFileLinkProvider^ tempFileLinkProvider,
IFileContentPermissionsManager^ permissionsManager,
IFileContentActionHistoryStrategy^ contentHistoryStrategy
)
new :
handlerType : string *
dbScope : IDbScope *
cardCache : ICardCache *
cardGetStrategy : ICardGetStrategy *
tempFileLinkProvider : ITempFileLinkProvider *
permissionsManager : IFileContentPermissionsManager *
contentHistoryStrategy : IFileContentActionHistoryStrategy -> FileContentHandler
Параметры
- handlerType String
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- cardCache ICardCache
Потокобезопасный кэш с карточками и дополнительными настройками.
- cardGetStrategy ICardGetStrategy
Стратегия загрузки карточки.
- tempFileLinkProvider ITempFileLinkProvider
Provider for creation file and file version temporary access tokens and accessing its content.
Makes no permission check. Use it if you are absolutely sure it's safe to do.
- permissionsManager IFileContentPermissionsManager
File content permissions manager.
- contentHistoryStrategy IFileContentActionHistoryStrategy
Strategy for managing action history for file content access tokens.