1 instantiation of TemplateMatch
System.Private.Xml (1)
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
56
matchesForMode.Add(new
TemplateMatch
(template, filter));
18 references to TemplateMatch
System.Private.Xml (18)
System\Xml\Xsl\Xslt\MatcherBuilder.cs (13)
225
internal sealed class TemplateMatchComparer : IComparer<
TemplateMatch
>
232
public int Compare(
TemplateMatch
? x,
TemplateMatch
? y)
247
public readonly
TemplateMatch
Match;
252
public Pattern(
TemplateMatch
match, int priority)
318
private readonly List<List<
TemplateMatch
>> _allMatches = new List<List<
TemplateMatch
>>();
335
private void AddPatterns(List<
TemplateMatch
> matches)
338
foreach (
TemplateMatch
match in matches)
363
List<
TemplateMatch
>? matchesForMode;
380
private QilNode MatchPattern(QilIterator it,
TemplateMatch
match)
513
foreach (List<
TemplateMatch
> list in _allMatches)
515
foreach (
TemplateMatch
match in list)
System\Xml\Xsl\Xslt\Stylesheet.cs (5)
47
public Dictionary<QilName, List<
TemplateMatch
>> TemplateMatches = new Dictionary<QilName, List<
TemplateMatch
>>();
51
List<
TemplateMatch
>? matchesForMode;
54
matchesForMode = TemplateMatches[template.Mode] = new List<
TemplateMatch
>();
63
TemplateMatches[mode].Sort(
TemplateMatch
.Comparer);