public static Settings Init(string path) { Instance = new Settings(); Instance.InitDefault(); if (path != null && File.Exists(path)) { Instance.InitFile(path); } else { Logger.Info("No settings file"); } return Instance; }
public static Settings Init(string path) { Instance = new Settings(); Instance.InitDefault(); if (path != null && File.Exists(path)) { Instance.InitFile(path); } else { Logger.Info("No settings file"); } return Instance; }