public Settings() { instance = this; }
/// <summary> /// Loads the plugin settings /// </summary> public void LoadSettings() { this.settingObject = new Settings(); if (!File.Exists(this.settingFilename)) this.SaveSettings(); else { Object obj = ObjectSerializer.Deserialize(this.settingFilename, this.settingObject); this.settingObject = (Settings)obj; } XMLCompletion.Settings.Instance = this.settingObject; }