FileContentHelperGetFileContentAsync - метод
Пространство имён: Tessa.Web.HelpersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public static Task<FileStreamResult> GetFileContentAsync(
ICardStreamServerRepository cardStreamServerRepository,
HttpResponse httpResponse,
CardGetFileContentRequest request,
CancellationToken cancellationToken = default
)
Public Shared Function GetFileContentAsync (
cardStreamServerRepository As ICardStreamServerRepository,
httpResponse As HttpResponse,
request As CardGetFileContentRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of FileStreamResult)
public:
static Task<FileStreamResult^>^ GetFileContentAsync(
ICardStreamServerRepository^ cardStreamServerRepository,
HttpResponse^ httpResponse,
CardGetFileContentRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
static member GetFileContentAsync :
cardStreamServerRepository : ICardStreamServerRepository *
httpResponse : HttpResponse *
request : CardGetFileContentRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<FileStreamResult>
- cardStreamServerRepository ICardStreamServerRepository
Репозиторий для потокового управления карточками на сервере.
- httpResponse HttpResponse
Represents the outgoing side of an individual HTTP request.
- request CardGetFileContentRequest
Запрос на получение контента версии файла, прикреплённого к карточке, от сервиса карточек.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskFileStreamResultFileStreamResult if succeeded.