Example #1
0
 public void Load()
 {
     Mvx.RegisterType <IWatcher, ReadWatcher>();
     Mvx.RegisterType <IReadTask, ReadTask>();
     Mvx.RegisterType <IWriteTask, MvxNFCWriteTask>();
 }
 public void Load()
 {
     Mvx.RegisterType <IUserInteraction, UserInteraction>();
 }
Example #3
0
 protected override void InitializePlatformServices()
 {
     base.InitializePlatformServices();
     Mvx.RegisterType <ITimer, Timer>();
 }
Example #4
0
 public App()
 {
     Mvx.RegisterType <ICalculation, Calculation>();
     Mvx.RegisterSingleton <IMvxAppStart>(new MvxAppStart <TipCalcViewModel>());
 }
Example #5
0
 public void Load()
 {
     Mvx.RegisterType <IMvxSqliteConnectionFactory, TouchSqliteConnectionFactory>();
 }
Example #6
0
 public void Load()
 {
     Mvx.RegisterType <ISettings, WindowsCommonSettings>();
 }
Example #7
0
 public void Load()
 {
     Mvx.RegisterType <IMvxReachability, MvxReachability>();
     Mvx.RegisterType <IMvxRestClient, MvxJsonRestClient>();
     Mvx.RegisterType <IMvxJsonRestClient, MvxJsonRestClient>();
 }
Example #8
0
        protected override IMvxApplication CreateApp()
        {
            Mvx.RegisterType <IDownloader, Downloader>();

            return(new App());
        }
Example #9
0
 public void Load()
 {
     Mvx.RegisterType <IMvxReflectionEx, MvxReflectionEx>();
 }
Example #10
0
 public void Load()
 {
     Mvx.RegisterType <IMvxSoundEffectLoader, MvxSoundEffectObjectLoader>();
 }
Example #11
0
 public override void Initialize()
 {
     RegisterNavigationServiceAppStart <MainViewModel>();
     Mvx.RegisterType <IDataBaseService, DataBaseService>();
 }
        protected override void InitializeLastChance()
        {
            base.InitializeLastChance();

            Mvx.RegisterType(() => ApplicationContext);
        }
Example #13
0
 protected virtual void InitializeCommandHelper()
 {
     Mvx.RegisterType <IMvxCommandHelper, MvxWeakCommandHelper>();
 }
Example #14
0
 public void Load()
 {
     Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>();
     // note that WindowsStore does not support IMvxComposeEmailTaskEx
 }
Example #15
0
 public void Load()
 {
     Mvx.RegisterType <IMvxWebBrowserTask, MvxWebBrowserTask>();
 }
Example #16
0
 private void InitializeData()
 {
     Mvx.RegisterType <IContactRepository, ContactRepository>();
     Mvx.RegisterType <IBarrierRepository, BarrierRepository>();
     Mvx.RegisterType <ISettingRepository, SettingRepository>();
 }
Example #17
0
 public void Load()
 {
     Mvx.RegisterType <IMvxPictureChooserTask, MvxImagePickerTask>();
     Mvx.CallbackWhenRegistered <IMvxValueConverterRegistry>(RegisterValueConverter);
 }
 public void Load()
 {
     Mvx.RegisterType <ILoginIdentityProviderTask, LoginIdentityProviderTask>();
 }
Example #19
0
 public void Load()
 {
     Mvx.RegisterType <IMessageService, MessageService>();
 }
Example #20
0
 public void Load()
 {
     Mvx.RegisterType(() => CrossBleAdapter.Current);
     Mvx.RegisterType(() => CrossBleAdapter.AdapterScanner);
 }
Example #21
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxStoreResourceLoader>();
 }
Example #22
0
 public void Load()
 {
     Mvx.RegisterType <IMvxFileStore, MvxIsolatedStorageFileStore>();
     Mvx.RegisterType <IMvxFileStoreAsync, MvxIsolatedStorageFileStore>();
 }
Example #23
0
 public void Load()
 {
     Mvx.RegisterType <IMvxFileStore, MvxAndroidFileStore>();
     Mvx.RegisterType <IMvxFileStoreAsync, MvxAndroidFileStore>();
 }
Example #24
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxAndroidResourceLoader>();
 }
Example #25
0
 public void Load()
 {
     Mvx.RegisterType <IMvxPictureChooserTask, MvxPictureChooserTask>();
 }
Example #26
0
 protected override void InitializeCommandHelper()
 {
     // WindowsPhone has to have a strong command helper
     // - see https://github.com/MvvmCross/MvvmCross/issues/623
     Mvx.RegisterType <IMvxCommandHelper, MvxStrongCommandHelper>();
 }
 public void Load()
 {
     Mvx.RegisterType <ISocket, DroidSocket>();
 }
Example #28
0
 public void Load()
 {
     Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>();
     Mvx.RegisterType <IMvxComposeEmailTaskEx, MvxComposeEmailTask>();
 }
Example #29
0
 public void Load()
 {
     Mvx.RegisterType <IMvxShareTask, MvxShareTask>();
 }
Example #30
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxTouchResourceLoader>();
 }