Added load order restrictions for DependencyAttribute

Abstracted dependency manager away as an interface
This commit is contained in:
Westin Miller
2017-08-18 02:03:53 -07:00
parent 42f58a8649
commit 80d4f62694
13 changed files with 220 additions and 103 deletions

View File

@@ -1,5 +1,6 @@
using System.Windows;
using System.Windows.Controls;
using Torch.API.Managers;
using Torch.Server.Managers;
using Torch.Server.ViewModels;
@@ -15,7 +16,7 @@ namespace Torch.Server.Views
public ConfigControl()
{
InitializeComponent();
_instanceManager = TorchBase.Instance.GetManager<InstanceManager>();
_instanceManager = TorchBase.Instance.Managers.GetManager<InstanceManager>();
DataContext = _instanceManager.DedicatedConfig;
}