6 implementations of ShortNameList
Microsoft.TemplateEngine.Cli (1)
CliTemplateInfo.cs (1)
79public IReadOnlyList<string> ShortNameList => _templateInfo.ShortNameList;
Microsoft.TemplateEngine.Edge (2)
FilterableTemplateInfo.cs (1)
44public IReadOnlyList<string> ShortNameList { get; set; }
Settings\TemplateInfo.cs (1)
157public IReadOnlyList<string> ShortNameList { get; } = new List<string>();
Microsoft.TemplateEngine.Utils (1)
IScanTemplateInfoExtensions.cs (1)
82public IReadOnlyList<string> ShortNameList => _templateInfo.ShortNameList;
Microsoft.TemplateSearch.Common (2)
Abstractions\TemplateSearchData.cs (1)
47public IReadOnlyList<string> ShortNameList => TemplateInfo.ShortNameList;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
111public IReadOnlyList<string> ShortNameList { get; private set; }
24 references to ShortNameList
Microsoft.TemplateEngine.Abstractions (1)
TemplateFiltering\MatchInfo.cs (1)
55/// Template short names <see cref="ITemplateMetadata.ShortNameList"/>.
Microsoft.TemplateEngine.Cli (9)
CliTemplateInfo.cs (1)
79public IReadOnlyList<string> ShortNameList => _templateInfo.ShortNameList;
Commands\BaseCommand.cs (1)
122if (!availableTemplates.Any(t => t.ShortNameList.Any(sn => string.Equals(sn, usedCommandAlias, StringComparison.OrdinalIgnoreCase))))
Extensions.cs (1)
43string shortNames = string.Join(",", template.ShortNameList);
HostSpecificDataLoader.cs (2)
57templateInfo.ShortNameList?[0] ?? templateInfo.Name); 84templateInfo.ShortNameList?[0] ?? templateInfo.Name,
TabularOutput\TemplateGroupDisplay.cs (1)
147string shortNames = string.Join(",", templateGroup.SelectMany(t => t.ShortNameList).Distinct(StringComparer.OrdinalIgnoreCase));
TemplateGroup.cs (1)
67shortNames.UnionWith(template.ShortNameList);
TemplatePackageCoordinator.cs (2)
789return template.ShortNameList.Contains(sourceIdentifier, StringComparer.OrdinalIgnoreCase); 811return template.ShortNameList.Contains(sourceIdentifier, StringComparer.OrdinalIgnoreCase);
Microsoft.TemplateEngine.Edge (3)
FilterableTemplateInfo.cs (1)
106ShortNameList = source.ShortNameList,
Settings\TemplateInfo.cs (1)
89ShortNameList = template.ShortNameList;
Template\WellKnownSearchFilters.cs (1)
30foreach (string shortName in template.ShortNameList)
Microsoft.TemplateEngine.Utils (5)
IScanTemplateInfoExtensions.cs (2)
51public string ShortName => _templateInfo.ShortNameList.FirstOrDefault() ?? string.Empty; 82public IReadOnlyList<string> ShortNameList => _templateInfo.ShortNameList;
WellKnownSearchFilters.cs (3)
31/// - if <paramref name="name"/> is equal to one of the short names in <see cref="ITemplateMetadata.ShortNameList"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.ShortName"/> with <see cref="MatchKind.Exact"/>;<br/> 33/// - if one of the short names in <see cref="ITemplateMetadata.ShortNameList"/> contains <paramref name="name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.ShortName"/> with <see cref="MatchKind.Partial"/>;<br/> 55foreach (string shortName in template.ShortNameList)
Microsoft.TemplateSearch.Common (6)
Abstractions\TemplateSearchData.cs (1)
47public IReadOnlyList<string> ShortNameList => TemplateInfo.ShortNameList;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (3)
33if (!templateInfo.ShortNameList.Any()) 35throw new ArgumentException($"'{nameof(templateInfo.ShortNameList)}' should have at least one entry", nameof(templateInfo)); 40ShortNameList = templateInfo.ShortNameList;
TemplateSearchCache\TemplateSearchData.Json.cs (2)
71writer.WritePropertyName(nameof(ITemplateInfo.ShortNameList)); 73foreach (string shortName in value.TemplateInfo.ShortNameList)