ApplicationPackageFileContent - конструктор
Пространство имён: Tessa.Applications.PackageСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ApplicationPackageFileContent(
ApplicationPackageFile file,
Func<CancellationToken, ValueTask<Stream>> getFileContentAsync,
Func<CancellationToken, ValueTask<long>> getFileSizeAsync
)
Public Sub New (
file As ApplicationPackageFile,
getFileContentAsync As Func(Of CancellationToken, ValueTask(Of Stream)),
getFileSizeAsync As Func(Of CancellationToken, ValueTask(Of Long))
)
public:
ApplicationPackageFileContent(
ApplicationPackageFile^ file,
Func<CancellationToken, ValueTask<Stream^>>^ getFileContentAsync,
Func<CancellationToken, ValueTask<long long>>^ getFileSizeAsync
)
new :
file : ApplicationPackageFile *
getFileContentAsync : Func<CancellationToken, ValueTask<Stream>> *
getFileSizeAsync : Func<CancellationToken, ValueTask<int64>> -> ApplicationPackageFileContent
Параметры
- file ApplicationPackageFile
-
- getFileContentAsync FuncCancellationToken, ValueTaskStream
-
- getFileSizeAsync FuncCancellationToken, ValueTaskInt64
-