7 references to Localizations
Microsoft.TemplateEngine.Edge (7)
Settings\Scanner.cs (1)
253
var localizationLocators = templates.SelectMany(t => t.
Localizations
.Values.Where(li => li.IsValid || returnInvalidTemplates)).ToList();
Settings\TemplateCache.cs (4)
138
if (template.
Localizations
is null)
143
if (!template.
Localizations
.Any())
148
string? bestMatch = GetBestLocaleMatch(template.
Localizations
.Keys);
153
return template.
Localizations
[bestMatch!];
ValidationUtils.cs (2)
21
foreach (KeyValuePair<string, ILocalizationLocator> locator in template.
Localizations
)
31
foreach (ILocalizationLocator invalidLoc in template.
Localizations
.Values.Where(li => !li.IsValid))