2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 16:33:43 -04:00

feat: better internal handling for plugin settings

This commit is contained in:
Xjph
2021-09-04 15:20:52 -02:30
parent f644a56918
commit 78ffcc167b
3 changed files with 78 additions and 37 deletions

View File

@ -130,5 +130,17 @@ namespace Observatory.Properties {
this["CoreVersion"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PluginSettings {
get {
return ((string)(this["PluginSettings"]));
}
set {
this["PluginSettings"] = value;
}
}
}
}

View File

@ -29,5 +29,8 @@
<Setting Name="CoreVersion" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="PluginSettings" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>