14 references to Language
Microsoft.TemplateEngine.Cli (6)
Commands\FilterOptionDefinition.cs (1)
35matchInfoName: MatchInfo.BuiltIn.Language);
TemplateResolution\CliFilters.cs (4)
113return new MatchInfo(MatchInfo.BuiltIn.Language, language, MatchKind.Exact); 117return new MatchInfo(MatchInfo.BuiltIn.Language, language, MatchKind.Mismatch); 125return new MatchInfo(MatchInfo.BuiltIn.Language, defaultLanguage, MatchKind.Exact); 131return new MatchInfo(MatchInfo.BuiltIn.Language, language, MatchKind.Exact);
TemplateResolution\TemplateGroupMatchInfo.cs (1)
320MatchInfo? 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"/>. 114return 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"/>. 122return 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/> 150return new MatchInfo(MatchInfo.BuiltIn.Language, language, MatchKind.Exact); 154return new MatchInfo(MatchInfo.BuiltIn.Language, language, MatchKind.Mismatch);