feat: better internal handling for plugin settings
This commit is contained in:
parent
f644a56918
commit
78ffcc167b
3 changed files with 78 additions and 37 deletions
12
ObservatoryCore/Properties/Core.Designer.cs
generated
12
ObservatoryCore/Properties/Core.Designer.cs
generated
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Reference in a new issue