public string GetSystemProperty()

in Platform/Tools/PowerShell/JetCmdlet/Infra/TeamCity/TeamCityProperties.cs [47:55]


    public string GetSystemProperty([NotNull] string name)
    {
      if(name == null)
        throw new ArgumentNullException("name");
      name = Regex.Replace(name, @"^system\.", "", RegexOptions.IgnoreCase); // Props are listed without the "system." prefix in the file
      AssertIsRunningInTeamCity();
      TryLoadSystemPropertiesFile();
      return mySystemProperties.GetValue(name, string.Format("The system property {0} is not defined.", name.QuoteIfNeeded()));
    }