* Removed incorrect use of async method in MainWindowViewModel constructor
* Moved script/theme loading code to new ScriptLoadingService class
This commit is contained in:
@@ -5,7 +5,7 @@ using Filtration.Services;
|
||||
|
||||
namespace Filtration.WindsorInstallers
|
||||
{
|
||||
public class ServicesInstaller :IWindsorInstaller
|
||||
public class ServicesInstaller : IWindsorInstaller
|
||||
{
|
||||
public void Install(IWindsorContainer container, IConfigurationStore store)
|
||||
{
|
||||
@@ -19,6 +19,11 @@ namespace Filtration.WindsorInstallers
|
||||
.ImplementedBy<ItemFilterScriptDirectoryService>()
|
||||
.LifeStyle.Singleton);
|
||||
|
||||
container.Register(
|
||||
Component.For<IScriptLoadingService>()
|
||||
.ImplementedBy<ScriptLoadingService>()
|
||||
.LifeStyle.Singleton);
|
||||
|
||||
container.Register(
|
||||
Component.For<IStaticDataService>()
|
||||
.ImplementedBy<StaticDataService>()
|
||||
|
||||
Reference in New Issue
Block a user