20 references to Name
Microsoft.TemplateEngine.Cli (4)
TemplateResolution\CliFilters.cs (4)
48
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Partial);
55
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Exact);
74
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Partial);
82
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Mismatch);
Microsoft.TemplateEngine.Utils (16)
TemplateMatchInfoExtensions.cs (8)
14
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> or <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.
Name
"/>.
18
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Name
&& (x.Kind == MatchKind.Exact || x.Kind == MatchKind.Partial));
22
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.
Name
"/>.
26
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Name
&& x.Kind == MatchKind.Exact);
30
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.
Name
"/>.
34
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Name
&& x.Kind == MatchKind.Partial);
38
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.
Name
"/>.
42
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Name
&& x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (8)
29
/// - if <paramref name="name"/> is null or empty, adds match disposition <see cref="MatchInfo.BuiltIn.
Name
"/> with <see cref="MatchKind.Partial"/>;<br/>
30
/// - if <paramref name="name"/> is equal to <see cref="ITemplateMetadata.Name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.
Name
"/> with <see cref="MatchKind.Exact"/>;<br/>
32
/// - if <see cref="ITemplateMetadata.Name"/> contains <paramref name="name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.
Name
"/> with <see cref="MatchKind.Partial"/>;<br/>
34
/// - adds match disposition <see cref="MatchInfo.BuiltIn.
Name
"/> with <see cref="MatchKind.Mismatch"/> otherwise.<br/>
43
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Partial);
50
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Exact);
69
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Partial);
77
return new MatchInfo(MatchInfo.BuiltIn.
Name
, name, MatchKind.Mismatch);