public JDILogger() { var logRoot = GetValidUrl(ExceptionUtils.AvoidExceptions(() => Properties.Settings.Default["log.path"].ToString())); if (!IsNullOrEmpty(logRoot)) { LogDirectoryRoot = () => logRoot; } }
protected static void FillFromSettings(Action <string> action, string name) { //var b = System.Configuration.ConfigurationManager.AppSettings["DriversFolder"]; //var a = Properties.Settings.Default["DriversFolder"]; ExceptionUtils.AvoidExceptions(() => action.Invoke(Default[name].ToString())); }
protected static void FillFromSettings(Action <string> action, string name) { ExceptionUtils.AvoidExceptions(() => action.Invoke(Default[name].ToString())); }