2017-10-03 05:15:13 +03:00
|
|
|
|
using Acr.UserDialogs;
|
|
|
|
|
using Bit.App.Abstractions;
|
|
|
|
|
using Plugin.Connectivity.Abstractions;
|
|
|
|
|
using Plugin.Settings.Abstractions;
|
|
|
|
|
using Xamarin.Forms.Platform.UWP;
|
|
|
|
|
using XLabs.Ioc;
|
|
|
|
|
|
|
|
|
|
namespace Bit.UWP
|
|
|
|
|
{
|
|
|
|
|
public sealed partial class MainPage : WindowsPage
|
|
|
|
|
{
|
|
|
|
|
public MainPage()
|
|
|
|
|
{
|
2017-10-03 05:38:10 +03:00
|
|
|
|
InitializeComponent();
|
2017-10-03 05:15:13 +03:00
|
|
|
|
LoadApplication(new Bit.App.App(
|
2017-10-03 05:38:10 +03:00
|
|
|
|
null,
|
|
|
|
|
Resolver.Resolve<IAuthService>(),
|
|
|
|
|
Resolver.Resolve<IConnectivity>(),
|
|
|
|
|
Resolver.Resolve<IDatabaseService>(),
|
|
|
|
|
Resolver.Resolve<ISyncService>(),
|
|
|
|
|
Resolver.Resolve<ISettings>(),
|
|
|
|
|
Resolver.Resolve<ILockService>(),
|
|
|
|
|
Resolver.Resolve<ILocalizeService>(),
|
|
|
|
|
Resolver.Resolve<IAppInfoService>(),
|
|
|
|
|
Resolver.Resolve<IAppSettingsService>(),
|
|
|
|
|
Resolver.Resolve<IDeviceActionService>()));
|
2017-10-03 05:15:13 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|