2 instantiations of HostInformation
Microsoft.TemplateEngine.Edge (2)
Constraints\HostConstraint.cs (2)
85
hostInformation.Add(new
HostInformation
(hostName!));
89
hostInformation.Add(new
HostInformation
(hostName!, version!.ParseVersionSpecification()));
6 references to HostInformation
Microsoft.TemplateEngine.Edge (6)
Constraints\HostConstraint.cs (6)
33
IReadOnlyList<
HostInformation
> supportedHosts = ParseArgs(args).ToList();
37
foreach (
HostInformation
hostInfo in supportedHosts.Where(h => h.HostName.Equals(EnvironmentSettings.Host.HostIdentifier, StringComparison.OrdinalIgnoreCase)))
48
foreach (
HostInformation
hostInfo in supportedHosts.Where(h => EnvironmentSettings.Host.FallbackHostTemplateConfigNames.Contains(h.HostName, StringComparer.OrdinalIgnoreCase)))
70
private static IEnumerable<
HostInformation
> ParseArgs(string? args)
72
List<
HostInformation
> hostInformation = new List<
HostInformation
>();