Click or drag to resize
TopicMatcherMatchAsync Method
Matches the topics to their IDs from content layout and creates a mapping from topic name to topic.

Namespace: Amdl.Maml.Converter
Assembly: Amdl.Maml.Converter (in Amdl.Maml.Converter.dll) Version: 1.0.5821.17059
Syntax
public static Task<Dictionary<string, TopicData>> MatchAsync(
	IEnumerable<TopicData> topics,
	Paths paths,
	IDictionary<string, Guid> title2id,
	CancellationToken cancellationToken = null,
	IProgress<Indicator> progress = null
)

Parameters

topics
Type: System.Collections.GenericIEnumerableTopicData
The topics.
paths
Type: Amdl.Maml.ConverterPaths
Paths.
title2id
Type: System.Collections.GenericIDictionaryString, Guid
Gets the topic ID from the topic title.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
Cancellation token.
progress (Optional)
Type: SystemIProgressIndicator
Progress indicator.

Return Value

Type: TaskDictionaryString, TopicData
Matched topic mapping.
See Also