public static string GetSetting(string name) { var result = Environment.GetEnvironmentVariable(name); if (string.IsNullOrWhiteSpace(result)) { result = ConfigurationManager.AppSettings[name]; } return result; }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.