FileUIManagerEnsureContentDownloadedInUICoreAsync - метод
Пространство имён: Tessa.UI.FilesСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
protected override ValueTask<ValidationResult> EnsureContentDownloadedInUICoreAsync(
IFileObject obj,
Func<IFileObject, CancellationToken, ValueTask<IFileContent>> getContentFuncAsync = null,
CancellationToken cancellationToken = default
)
Protected Overrides Function EnsureContentDownloadedInUICoreAsync (
obj As IFileObject,
Optional getContentFuncAsync As Func(Of IFileObject, CancellationToken, ValueTask(Of IFileContent)) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
protected:
virtual ValueTask<ValidationResult^> EnsureContentDownloadedInUICoreAsync(
IFileObject^ obj,
Func<IFileObject^, CancellationToken, ValueTask<IFileContent^>>^ getContentFuncAsync = nullptr,
CancellationToken cancellationToken = CancellationToken()
) override
abstract EnsureContentDownloadedInUICoreAsync :
obj : IFileObject *
?getContentFuncAsync : Func<IFileObject, CancellationToken, ValueTask<IFileContent>> *
?cancellationToken : CancellationToken
(* Defaults:
let _getContentFuncAsync = defaultArg getContentFuncAsync null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override EnsureContentDownloadedInUICoreAsync :
obj : IFileObject *
?getContentFuncAsync : Func<IFileObject, CancellationToken, ValueTask<IFileContent>> *
?cancellationToken : CancellationToken
(* Defaults:
let _getContentFuncAsync = defaultArg getContentFuncAsync null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- obj IFileObject
-
- getContentFuncAsync FuncIFileObject, CancellationToken, ValueTaskIFileContent (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskValidationResult