/// <inheritdoc /> public override void LoadPlugins(IMvxPluginManager pluginManager) { //We have to do this here, since the loading via bootloader won't work for UWP projects Mvx.LazyConstructAndRegisterSingleton <IMvxComposeEmailTask, MvxComposeEmailTask>(); Mvx.LazyConstructAndRegisterSingleton <IMvxWebBrowserTask, MvxWebBrowserTask>(); Mvx.LazyConstructAndRegisterSingleton <IMvxFileStore, MvxWindowsFileStore>(); Mvx.LazyConstructAndRegisterSingleton <IMvxNativeVisibility, MvxWinRTVisibility>(); Mvx.LazyConstructAndRegisterSingleton <IMvxMessenger, MvxMessengerHub>(); }
protected override void InitializeFirstChance() { base.InitializeFirstChance(); Mvx.LazyConstructAndRegisterSingleton <IConnectivity, ConnectivityImplementation>(); Mvx.LazyConstructAndRegisterSingleton <IDialogService, DialogService>(); Mvx.LazyConstructAndRegisterSingleton <IOneDriveAuthenticator, OneDriveAuthenticator>(); Mvx.LazyConstructAndRegisterSingleton <IProtectedData, ProtectedData>(); Mvx.LazyConstructAndRegisterSingleton <ITileManager, TileManager>(); Mvx.LazyConstructAndRegisterSingleton <IAppInformation, WindowsAppInformation>(); Mvx.LazyConstructAndRegisterSingleton <IStoreOperations, MarketplaceOperations>(); Mvx.LazyConstructAndRegisterSingleton <ISettings, Settings>(); Mvx.LazyConstructAndRegisterSingleton <IBackgroundTaskManager, BackgroundTaskManager>(); DependencyRegistrator.RegisterDependencies(); }