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

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

            Mvx.RegisterType(() => ApplicationContext);
        }
예제 #13
0
 protected virtual void InitializeCommandHelper()
 {
     Mvx.RegisterType <IMvxCommandHelper, MvxWeakCommandHelper>();
 }
예제 #14
0
 public void Load()
 {
     Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>();
     // note that WindowsStore does not support IMvxComposeEmailTaskEx
 }
예제 #15
0
 public void Load()
 {
     Mvx.RegisterType <IMvxWebBrowserTask, MvxWebBrowserTask>();
 }
예제 #16
0
 private void InitializeData()
 {
     Mvx.RegisterType <IContactRepository, ContactRepository>();
     Mvx.RegisterType <IBarrierRepository, BarrierRepository>();
     Mvx.RegisterType <ISettingRepository, SettingRepository>();
 }
예제 #17
0
 public void Load()
 {
     Mvx.RegisterType <IMvxPictureChooserTask, MvxImagePickerTask>();
     Mvx.CallbackWhenRegistered <IMvxValueConverterRegistry>(RegisterValueConverter);
 }
예제 #18
0
 public void Load()
 {
     Mvx.RegisterType <ILoginIdentityProviderTask, LoginIdentityProviderTask>();
 }
예제 #19
0
 public void Load()
 {
     Mvx.RegisterType <IMessageService, MessageService>();
 }
예제 #20
0
 public void Load()
 {
     Mvx.RegisterType(() => CrossBleAdapter.Current);
     Mvx.RegisterType(() => CrossBleAdapter.AdapterScanner);
 }
예제 #21
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxStoreResourceLoader>();
 }
예제 #22
0
 public void Load()
 {
     Mvx.RegisterType <IMvxFileStore, MvxIsolatedStorageFileStore>();
     Mvx.RegisterType <IMvxFileStoreAsync, MvxIsolatedStorageFileStore>();
 }
예제 #23
0
 public void Load()
 {
     Mvx.RegisterType <IMvxFileStore, MvxAndroidFileStore>();
     Mvx.RegisterType <IMvxFileStoreAsync, MvxAndroidFileStore>();
 }
예제 #24
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxAndroidResourceLoader>();
 }
예제 #25
0
 public void Load()
 {
     Mvx.RegisterType <IMvxPictureChooserTask, MvxPictureChooserTask>();
 }
예제 #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>();
 }
예제 #27
0
 public void Load()
 {
     Mvx.RegisterType <ISocket, DroidSocket>();
 }
예제 #28
0
 public void Load()
 {
     Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>();
     Mvx.RegisterType <IMvxComposeEmailTaskEx, MvxComposeEmailTask>();
 }
예제 #29
0
 public void Load()
 {
     Mvx.RegisterType <IMvxShareTask, MvxShareTask>();
 }
예제 #30
0
 public void Load()
 {
     Mvx.RegisterType <IMvxResourceLoader, MvxTouchResourceLoader>();
 }