mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Core - Flattened namespaces
Shared UI - Flattened namespaces Shared UI - General housekeeping Project - Code cleanup
This commit is contained in:
1 parent
029e39ec1d
commit
8718d01eae
454 files changed
+1678
-1938
No files matched your search
@@ -4,7 +4,7 @@ using Artemis.Storage.Repositories.Interfaces;
|
||||
using Newtonsoft.Json;
|
||||
using Stylet;
|
||||
|
||||
namespace Artemis.Core.Plugins.Settings
|
||||
namespace Artemis.Core
|
||||
{
|
||||
public class PluginSetting<T> : PropertyChangedBase
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Artemis.Storage.Entities.Plugins;
|
||||
using Artemis.Storage.Repositories.Interfaces;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Artemis.Core.Plugins.Settings
|
||||
namespace Artemis.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>This contains all the settings for your plugin. To access a setting use <see cref="GetSetting{T}" />.</para>
|
||||
@@ -46,7 +46,7 @@ namespace Artemis.Core.Plugins.Settings
|
||||
}
|
||||
|
||||
var pluginSetting = new PluginSetting<T>(_pluginInfo, _pluginRepository, settingEntity);
|
||||
|
||||
|
||||
// This overrides null with the default value, I'm not sure if that's desirable because you
|
||||
// might expect something to go null and you might not
|
||||
// if (pluginSetting.Value == null && defaultValue != null)
|
||||
|
||||
Reference in new issue
Block a user