1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-22 11:13:49 +00:00
This commit is contained in:
Kyle Spearrin
2016-05-03 02:08:50 -04:00
parent c6222c8ed3
commit 92e74274e0
24 changed files with 574 additions and 214 deletions

View File

@@ -11,6 +11,8 @@ using Bit.App.Services;
using Microsoft.Practices.Unity;
using Bit.iOS.Services;
using Plugin.Settings;
using Plugin.Connectivity;
using Acr.UserDialogs;
namespace Bit.iOS
{
@@ -54,7 +56,9 @@ namespace Bit.iOS
.RegisterType<ICryptoService, CryptoService>(new ContainerControlledLifetimeManager())
.RegisterType<IAuthService, AuthService>(new ContainerControlledLifetimeManager())
.RegisterType<IFolderService, FolderService>(new ContainerControlledLifetimeManager())
.RegisterType<ISiteService, SiteService>(new ContainerControlledLifetimeManager());
.RegisterType<ISiteService, SiteService>(new ContainerControlledLifetimeManager())
.RegisterInstance(CrossConnectivity.Current, new ContainerControlledLifetimeManager())
.RegisterInstance(UserDialogs.Instance, new ContainerControlledLifetimeManager());
Resolver.SetResolver(new UnityResolver(container));
}