1 implementation of ITemplateMatchInfo
Microsoft.TemplateEngine.Edge (1)
Settings\TemplateMatchInfo.cs (1)
10
internal class TemplateMatchInfoEx :
ITemplateMatchInfo
12 references to ITemplateMatchInfo
Microsoft.TemplateEngine.Edge (12)
Template\TemplateMatchInfoEqualityComparer.cs (5)
7
public class TemplateMatchInfoEqualityComparer : IEqualityComparer<
ITemplateMatchInfo
>
9
public static IEqualityComparer<
ITemplateMatchInfo
> Default { get; } = new TemplateMatchInfoEqualityComparer();
11
public bool Equals(
ITemplateMatchInfo
x,
ITemplateMatchInfo
y)
16
public int GetHashCode(
ITemplateMatchInfo
obj)
TemplateListFilter.cs (7)
17
public static Func<
ITemplateMatchInfo
, bool> ExactMatchFilter => x => x.IsMatch;
24
public static Func<
ITemplateMatchInfo
, bool> PartialMatchFilter => x => x.IsPartialMatch;
72
public static IReadOnlyCollection<
ITemplateMatchInfo
> GetTemplateMatchInfo(IReadOnlyList<ITemplateInfo> templateList, Func<
ITemplateMatchInfo
, bool> matchFilter, params Func<ITemplateInfo, MatchInfo?>[] filters)
74
HashSet<
ITemplateMatchInfo
> matchingTemplates = new HashSet<
ITemplateMatchInfo
>(Template.TemplateMatchInfoEqualityComparer.Default);
90
ITemplateMatchInfo
info = new TemplateMatchInfoEx(template, matchInformation);