| TopicConverterConvertAsync Method (Paths, IDictionaryString, TopicData, CancellationToken, IProgressIndicator) |
Converts the topic to MAML.
Namespace: Amdl.Maml.ConverterAssembly: Amdl.Maml.Converter (in Amdl.Maml.Converter.dll) Version: 1.0.5821.17059
Syntax public static Task ConvertAsync(
Paths paths,
IDictionary<string, TopicData> name2topic,
CancellationToken cancellationToken = null,
IProgress<Indicator> progress = null
)
Public Shared Function ConvertAsync (
paths As Paths,
name2topic As IDictionary(Of String, TopicData),
Optional cancellationToken As CancellationToken = Nothing,
Optional progress As IProgress(Of Indicator) = Nothing
) As Task
public:
static Task^ ConvertAsync(
Paths paths,
IDictionary<String^, TopicData^>^ name2topic,
CancellationToken cancellationToken = nullptr,
IProgress<Indicator>^ progress = nullptr
)
static member ConvertAsync :
paths : Paths *
name2topic : IDictionary<string, TopicData> *
?cancellationToken : CancellationToken *
?progress : IProgress<Indicator>
(* Defaults:
let _cancellationToken = defaultArg cancellationToken null
let _progress = defaultArg progress null
*)
-> Task
Parameters
- paths
- Type: Amdl.Maml.ConverterPaths
Paths. - name2topic
- Type: System.Collections.GenericIDictionaryString, TopicData
Mapping from topic name to data. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Cancellation token. - progress (Optional)
- Type: SystemIProgressIndicator
Progress indicator.
Return Value
Type:
TaskAsynchronous task.
See Also