ScanDocumentGeneratorTryGenerateAsync - метод
Пространство имён: Tessa.Extensions.Platform.Client.ScanningСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task<(ScanDocument document, List<ITempFile> temporaryFiles, List<ITempFolder> temporaryFolders)> TryGenerateAsync(
ITempFile[] files,
Func<double, CancellationToken, Task> reportProgressActionAsync = null,
Object externalContext = null,
Dictionary<string, Object> info = null,
CancellationToken cancellationToken = default
)
Public Function TryGenerateAsync (
files As ITempFile(),
Optional reportProgressActionAsync As Func(Of Double, CancellationToken, Task) = Nothing,
Optional externalContext As Object = Nothing,
Optional info As Dictionary(Of String, Object) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (document As ScanDocument, temporaryFiles As List(Of ITempFile), temporaryFolders As List(Of ITempFolder)))
public:
Task<ValueTuple<ScanDocument^, List<ITempFile^>^, List<ITempFolder^>^>>^ TryGenerateAsync(
array<ITempFile^>^ files,
Func<double, CancellationToken, Task^>^ reportProgressActionAsync = nullptr,
Object^ externalContext = nullptr,
Dictionary<String^, Object^>^ info = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member TryGenerateAsync :
files : ITempFile[] *
?reportProgressActionAsync : Func<float, CancellationToken, Task> *
?externalContext : Object *
?info : Dictionary<string, Object> *
?cancellationToken : CancellationToken
(* Defaults:
let _reportProgressActionAsync = defaultArg reportProgressActionAsync null
let _externalContext = defaultArg externalContext null
let _info = defaultArg info null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ScanDocument, List<ITempFile>, List<ITempFolder>>>
- files ITempFile
-
- reportProgressActionAsync FuncDouble, CancellationToken, Task (Optional)
-
- externalContext Object (Optional)
-
- info DictionaryString, Object (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskValueTupleScanDocument,
ListITempFile,
ListITempFolder