CardStreamStoreStrategy - конструктор |
Создаёт экземпляр класса с указанием области видимости объекта
DbManager,
репозитория для работы с файлами и компонента для сохранения карточки.
Пространство имён:
Tessa.Cards.ComponentModel
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксисpublic CardStreamStoreStrategy(
IDbScope dbScope,
ICardStoreComponent storeComponent,
ICardRequestComponent requestComponent,
ICardContentStrategy contentStrategy,
ICardFileVersionStrategy versionStrategy,
ICardMetadata cardMetadata,
ISession session,
[OptionalDependencyAttribute("Files")] ISignatureProvider fileSignatureProvider = null
)Public Sub New (
dbScope As IDbScope,
storeComponent As ICardStoreComponent,
requestComponent As ICardRequestComponent,
contentStrategy As ICardContentStrategy,
versionStrategy As ICardFileVersionStrategy,
cardMetadata As ICardMetadata,
session As ISession,
<OptionalDependencyAttribute("Files")> Optional fileSignatureProvider As ISignatureProvider = Nothing
)public:
CardStreamStoreStrategy(
IDbScope^ dbScope,
ICardStoreComponent^ storeComponent,
ICardRequestComponent^ requestComponent,
ICardContentStrategy^ contentStrategy,
ICardFileVersionStrategy^ versionStrategy,
ICardMetadata^ cardMetadata,
ISession^ session,
[OptionalDependencyAttribute(L"Files")] ISignatureProvider^ fileSignatureProvider = nullptr
)
new :
dbScope : IDbScope *
storeComponent : ICardStoreComponent *
requestComponent : ICardRequestComponent *
contentStrategy : ICardContentStrategy *
versionStrategy : ICardFileVersionStrategy *
cardMetadata : ICardMetadata *
session : ISession *
[<OptionalDependencyAttribute("Files")>] ?fileSignatureProvider : ISignatureProvider
(* Defaults:
let _fileSignatureProvider = defaultArg fileSignatureProvider null
*)
-> CardStreamStoreStrategyПараметры
- dbScope
- Тип: Tessa.Platform.DataIDbScope
Область видимости объекта DbManager. - storeComponent
- Тип: Tessa.Cards.ComponentModelICardStoreComponent
Компонент для сохранения карточки. - requestComponent
- Тип: Tessa.Cards.ComponentModelICardRequestComponent
Компонент для выполнения универсальных запросов к сервису карточек. - contentStrategy
- Тип: Tessa.Cards.ComponentModelICardContentStrategy
Стратегия управления контентом файла. - versionStrategy
- Тип: Tessa.Cards.ComponentModelICardFileVersionStrategy
Стратегия, определяющая состояние версии файла. - cardMetadata
- Тип: Tessa.CardsICardMetadata
Метаинформация по типам карточек. - session
- Тип: Tessa.Platform.RuntimeISession
Сессия пользователя. - fileSignatureProvider (Optional)
- Тип: Tessa.PlatformISignatureProvider
Объект, предоставляющий криптографические средства для вычисления хеш-суммы содержимого файла,
или null, если хеш сумма будет вычислена стандартными средствами Files.
Объект должен поддерживать IHashSignatureProvider.
См. также