1 write to EnvironmentSettings
Microsoft.TemplateEngine.Edge (1)
Constraints\ConstraintBase.cs (1)
13
EnvironmentSettings
= environmentSettings;
6 references to EnvironmentSettings
Microsoft.TemplateEngine.Edge (6)
Constraints\HostConstraint.cs (6)
37
foreach (HostInformation hostInfo in supportedHosts.Where(h => h.HostName.Equals(
EnvironmentSettings
.Host.HostIdentifier, StringComparison.OrdinalIgnoreCase)))
40
if (hostInfo.Version == null || hostInfo.Version.CheckIfVersionIsValid(
EnvironmentSettings
.Host.Version))
48
foreach (HostInformation hostInfo in supportedHosts.Where(h =>
EnvironmentSettings
.Host.FallbackHostTemplateConfigNames.Contains(h.HostName, StringComparer.OrdinalIgnoreCase)))
50
if (hostInfo.Version == null || hostInfo.Version.CheckIfVersionIsValid(
EnvironmentSettings
.Host.Version))
56
string errorMessage = string.Format(LocalizableStrings.HostConstraint_Message_Restricted,
EnvironmentSettings
.Host.HostIdentifier,
EnvironmentSettings
.Host.Version, supportedHosts.ToCsvString());