9 references to Type
Microsoft.TemplateEngine.Cli (1)
Commands\FilterOptionDefinition.cs (1)
47
matchInfoName: MatchInfo.BuiltIn.
Type
);
Microsoft.TemplateEngine.Utils (8)
TemplateMatchInfoExtensions.cs (4)
78
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.
Type
"/>.
82
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Type
&& x.Kind == MatchKind.Exact);
86
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.
Type
"/>.
90
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Type
&& x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (4)
84
/// - if <paramref name="inputType"/> is equal to tag named 'type' from <see cref="ITemplateInfo.Tags"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.
Type
"/> with <see cref="MatchKind.Exact"/>;<br/>
85
/// - adds match disposition <see cref="MatchInfo.BuiltIn.
Type
"/> with <see cref="MatchKind.Mismatch"/> otherwise.<br/>
100
return new MatchInfo(MatchInfo.BuiltIn.
Type
, type, MatchKind.Exact);
104
return new MatchInfo(MatchInfo.BuiltIn.
Type
, type, MatchKind.Mismatch);