14 references to Language
Microsoft.TemplateEngine.Cli (6)
Commands\FilterOptionDefinition.cs (1)
35
matchInfoName: MatchInfo.BuiltIn.
Language
);
TemplateResolution\CliFilters.cs (4)
113
return new MatchInfo(MatchInfo.BuiltIn.
Language
, language, MatchKind.Exact);
117
return new MatchInfo(MatchInfo.BuiltIn.
Language
, language, MatchKind.Mismatch);
125
return new MatchInfo(MatchInfo.BuiltIn.
Language
, defaultLanguage, MatchKind.Exact);
131
return new MatchInfo(MatchInfo.BuiltIn.
Language
, language, MatchKind.Exact);
TemplateResolution\TemplateGroupMatchInfo.cs (1)
320
MatchInfo? languageMatch = _groupDispositions.SingleOrDefault(match => match.Name == MatchInfo.BuiltIn.
Language
);
Microsoft.TemplateEngine.Utils (8)
TemplateMatchInfoExtensions.cs (4)
110
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.
Language
"/>.
114
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Language
&& x.Kind == MatchKind.Exact);
118
/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.
Language
"/>.
122
return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.
Language
&& x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (4)
135
/// - if <paramref name="language"/> is equal to tag named 'language' from <see cref="ITemplateInfo.Tags"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.
Language
"/> with <see cref="MatchKind.Exact"/>;<br/>
136
/// - adds match disposition <see cref="MatchInfo.BuiltIn.
Language
"/> with <see cref="MatchKind.Mismatch"/> otherwise.<br/>
150
return new MatchInfo(MatchInfo.BuiltIn.
Language
, language, MatchKind.Exact);
154
return new MatchInfo(MatchInfo.BuiltIn.
Language
, language, MatchKind.Mismatch);