mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Plugins - Implemented features enable/disable UI
This commit is contained in:
1 parent
e812929215
commit
c146479393
38 files changed
+571
-164
No files matched your search
@@ -6,11 +6,11 @@ using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Repositories
|
||||
{
|
||||
public class ModuleRepository : IModuleRepository
|
||||
internal class ModuleRepository : IModuleRepository
|
||||
{
|
||||
private readonly LiteRepository _repository;
|
||||
|
||||
internal ModuleRepository(LiteRepository repository)
|
||||
public ModuleRepository(LiteRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
_repository.Database.GetCollection<ModuleSettingsEntity>().EnsureIndex(s => s.ModuleId, true);
|
||||
|
||||
@@ -5,11 +5,11 @@ using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Repositories
|
||||
{
|
||||
public class PluginRepository : IPluginRepository
|
||||
internal class PluginRepository : IPluginRepository
|
||||
{
|
||||
private readonly LiteRepository _repository;
|
||||
|
||||
internal PluginRepository(LiteRepository repository)
|
||||
public PluginRepository(LiteRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Repositories
|
||||
{
|
||||
public class ProfileRepository : IProfileRepository
|
||||
internal class ProfileRepository : IProfileRepository
|
||||
{
|
||||
private readonly LiteRepository _repository;
|
||||
|
||||
internal ProfileRepository(LiteRepository repository)
|
||||
public ProfileRepository(LiteRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
_repository.Database.GetCollection<ProfileEntity>().EnsureIndex(s => s.Name);
|
||||
|
||||
@@ -5,11 +5,11 @@ using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Repositories
|
||||
{
|
||||
public class SurfaceRepository : ISurfaceRepository
|
||||
internal class SurfaceRepository : ISurfaceRepository
|
||||
{
|
||||
private readonly LiteRepository _repository;
|
||||
|
||||
internal SurfaceRepository(LiteRepository repository)
|
||||
public SurfaceRepository(LiteRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
_repository.Database.GetCollection<SurfaceEntity>().EnsureIndex(s => s.Name);
|
||||
|
||||
Reference in new issue
Block a user