CardStreamServerStoreComponentStoreAsync(CardStoreRequest, IReadOnlyCollectionICardFileContentProvider, ICardMetadata, ISession, NullableGuid, CancellationToken) - метод
Сохраняет карточку и её файлы, переданные в потоке карточки.
Пространство имён: Tessa.Cards.ComponentModelСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<CardStoreResponse> StoreAsync(
CardStoreRequest request,
IReadOnlyCollection<ICardFileContentProvider> files,
ICardMetadata cardMetadata,
ISession session,
Guid? operationID = null,
CancellationToken cancellationToken = default
)
Public Function StoreAsync (
request As CardStoreRequest,
files As IReadOnlyCollection(Of ICardFileContentProvider),
cardMetadata As ICardMetadata,
session As ISession,
Optional operationID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of CardStoreResponse)
public:
virtual Task<CardStoreResponse^>^ StoreAsync(
CardStoreRequest^ request,
IReadOnlyCollection<ICardFileContentProvider^>^ files,
ICardMetadata^ cardMetadata,
ISession^ session,
Nullable<Guid> operationID = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract StoreAsync :
request : CardStoreRequest *
files : IReadOnlyCollection<ICardFileContentProvider> *
cardMetadata : ICardMetadata *
session : ISession *
?operationID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _operationID = defaultArg operationID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<CardStoreResponse>
override StoreAsync :
request : CardStoreRequest *
files : IReadOnlyCollection<ICardFileContentProvider> *
cardMetadata : ICardMetadata *
session : ISession *
?operationID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _operationID = defaultArg operationID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<CardStoreResponse>
- request CardStoreRequest
-
- files IReadOnlyCollectionICardFileContentProvider
-
- cardMetadata ICardMetadata
- Метаинформация по типам карточек.
- session ISession
- Сессия пользователя, выполняющего сохранение карточки с контентом файлов.
- operationID NullableGuid (Optional)
-
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskCardStoreResponseОтвет на запрос по сохранению карточки.
ICardStreamServerStoreComponentStoreAsync(CardStoreRequest, IReadOnlyCollectionICardFileContentProvider, ICardMetadata, ISession, NullableGuid, CancellationToken)