FileContentHandler - конструктор
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
public FileContentHandler(
string handlerType,
IDbScope dbScope,
ICardCache cardCache,
ICardGetTypeStrategy cardGetTypeStrategy,
ITempFileLinkProvider tempFileLinkProvider,
IFileContentPermissionsManager permissionsManager,
IFileContentActionHistoryStrategy contentHistoryStrategy
)
Public Sub New (
handlerType As String,
dbScope As IDbScope,
cardCache As ICardCache,
cardGetTypeStrategy As ICardGetTypeStrategy,
tempFileLinkProvider As ITempFileLinkProvider,
permissionsManager As IFileContentPermissionsManager,
contentHistoryStrategy As IFileContentActionHistoryStrategy
)
public:
FileContentHandler(
String^ handlerType,
IDbScope^ dbScope,
ICardCache^ cardCache,
ICardGetTypeStrategy^ cardGetTypeStrategy,
ITempFileLinkProvider^ tempFileLinkProvider,
IFileContentPermissionsManager^ permissionsManager,
IFileContentActionHistoryStrategy^ contentHistoryStrategy
)
new :
handlerType : string *
dbScope : IDbScope *
cardCache : ICardCache *
cardGetTypeStrategy : ICardGetTypeStrategy *
tempFileLinkProvider : ITempFileLinkProvider *
permissionsManager : IFileContentPermissionsManager *
contentHistoryStrategy : IFileContentActionHistoryStrategy -> FileContentHandler
Параметры
- handlerType String
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- cardCache ICardCache
Потокобезопасный кэш с карточками и дополнительными настройками.
- cardGetTypeStrategy ICardGetTypeStrategy
Стратегия получения типа карточки.
- 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.