Click or drag to resize
TopicMatcher.MatchAsync 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.Generic.IEnumerable<TopicData>
The topics.
paths
Type: Amdl.Maml.Converter.Paths
Paths.
title2id
Type: System.Collections.Generic.IDictionary<String, Guid>
Gets the topic ID from the topic title.
cancellationToken (Optional)
Type: System.Threading.CancellationToken
Cancellation token.
progress (Optional)
Type: System.IProgress<Indicator>
Progress indicator.

Return Value

Type: Task<Dictionary<String, TopicData>>
Matched topic mapping.
See Also