| TopicConverterConvertAsync Method (TopicData, Paths, IDictionaryString, TopicData, CancellationToken, IProgressIndicator, Int32, Int32) |
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(
TopicData topic,
Paths paths,
IDictionary<string, TopicData> name2topic,
CancellationToken cancellationToken,
IProgress<Indicator> progress = null,
int index = 0,
int count = 0
)
Public Shared Function ConvertAsync (
topic As TopicData,
paths As Paths,
name2topic As IDictionary(Of String, TopicData),
cancellationToken As CancellationToken,
Optional progress As IProgress(Of Indicator) = Nothing,
Optional index As Integer = 0,
Optional count As Integer = 0
) As Task
public:
static Task^ ConvertAsync(
TopicData^ topic,
Paths paths,
IDictionary<String^, TopicData^>^ name2topic,
CancellationToken cancellationToken,
IProgress<Indicator>^ progress = nullptr,
int index = 0,
int count = 0
)
static member ConvertAsync :
topic : TopicData *
paths : Paths *
name2topic : IDictionary<string, TopicData> *
cancellationToken : CancellationToken *
?progress : IProgress<Indicator> *
?index : int *
?count : int
(* Defaults:
let _progress = defaultArg progress null
let _index = defaultArg index 0
let _count = defaultArg count 0
*)
-> Task
Parameters
- topic
- Type: Amdl.Maml.ConverterTopicData
Topic data. - paths
- Type: Amdl.Maml.ConverterPaths
Paths. - name2topic
- Type: System.Collections.GenericIDictionaryString, TopicData
Mapping from topic name to data. - cancellationToken
- Type: System.ThreadingCancellationToken
Cancellation token. - progress (Optional)
- Type: SystemIProgressIndicator
Progress indicator. - index (Optional)
- Type: SystemInt32
Index. - count (Optional)
- Type: SystemInt32
Count.
Return Value
Type:
TaskAsynchronous task.
See Also