Added auto updater
This commit is contained in:
@@ -24,6 +24,16 @@ namespace Filtration.WindsorInstallers
|
||||
Component.For<IBlockGroupMapper>()
|
||||
.ImplementedBy<BlockGroupMapper>()
|
||||
.LifeStyle.Singleton);
|
||||
|
||||
container.Register(
|
||||
Component.For<IHTTPService>()
|
||||
.ImplementedBy<HTTPService>()
|
||||
.LifeStyle.Singleton);
|
||||
|
||||
container.Register(
|
||||
Component.For<IUpdateCheckService>()
|
||||
.ImplementedBy<UpdateCheckService>()
|
||||
.LifeStyle.Singleton);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,12 @@ namespace Filtration.WindsorInstallers
|
||||
Component.For<ISettingsPageViewModel>()
|
||||
.ImplementedBy<SettingsPageViewModel>()
|
||||
.LifeStyle.Transient);
|
||||
|
||||
|
||||
container.Register(
|
||||
Component.For<IUpdateAvailableViewModel>()
|
||||
.ImplementedBy<UpdateAvailableViewModel>()
|
||||
.LifeStyle.Transient);
|
||||
|
||||
container.Register(
|
||||
Component.For<IItemFilterBlockViewModelFactory>().AsFactory());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user