CardFileContentResult - конструктор
Создаёт экземпляр класса с указанием значений его свойств.
Пространство имён: Tessa.CardsСборка: Tessa (в Tessa.dll) Версия: 4.0.6
public CardFileContentResult(
CardGetFileContentResponse response,
Func<CancellationToken, ValueTask<Stream>>? getContentFuncAsync = null,
ICardContentInfo? contentTokenInfo = null
)
Public Sub New (
response As CardGetFileContentResponse,
Optional getContentFuncAsync As Func(Of CancellationToken, ValueTask(Of Stream)) = Nothing,
Optional contentTokenInfo As ICardContentInfo = Nothing
)
public:
CardFileContentResult(
CardGetFileContentResponse^ response,
Func<CancellationToken, ValueTask<Stream^>>^ getContentFuncAsync = nullptr,
ICardContentInfo^ contentTokenInfo = nullptr
)
new :
response : CardGetFileContentResponse *
?getContentFuncAsync : Func<CancellationToken, ValueTask<Stream>> *
?contentTokenInfo : ICardContentInfo
-> CardFileContentResult
Параметры
- response CardGetFileContentResponse
- Ответ на запрос на получение контента. Не может быть равен null.
- getContentFuncAsync Func<CancellationToken, ValueTask<Stream>> (Optional)
-
Функция, возвращающая поток с данными контента. Может быть равна null, если контент недоступен.
- contentTokenInfo ICardContentInfo (Optional)
- ICardContentInfo