public void Load() { Mvx.RegisterType <IWatcher, ReadWatcher>(); Mvx.RegisterType <IReadTask, ReadTask>(); Mvx.RegisterType <IWriteTask, MvxNFCWriteTask>(); }
public void Load() { Mvx.RegisterType <IUserInteraction, UserInteraction>(); }
protected override void InitializePlatformServices() { base.InitializePlatformServices(); Mvx.RegisterType <ITimer, Timer>(); }
public App() { Mvx.RegisterType <ICalculation, Calculation>(); Mvx.RegisterSingleton <IMvxAppStart>(new MvxAppStart <TipCalcViewModel>()); }
public void Load() { Mvx.RegisterType <IMvxSqliteConnectionFactory, TouchSqliteConnectionFactory>(); }
public void Load() { Mvx.RegisterType <ISettings, WindowsCommonSettings>(); }
public void Load() { Mvx.RegisterType <IMvxReachability, MvxReachability>(); Mvx.RegisterType <IMvxRestClient, MvxJsonRestClient>(); Mvx.RegisterType <IMvxJsonRestClient, MvxJsonRestClient>(); }
protected override IMvxApplication CreateApp() { Mvx.RegisterType <IDownloader, Downloader>(); return(new App()); }
public void Load() { Mvx.RegisterType <IMvxReflectionEx, MvxReflectionEx>(); }
public void Load() { Mvx.RegisterType <IMvxSoundEffectLoader, MvxSoundEffectObjectLoader>(); }
public override void Initialize() { RegisterNavigationServiceAppStart <MainViewModel>(); Mvx.RegisterType <IDataBaseService, DataBaseService>(); }
protected override void InitializeLastChance() { base.InitializeLastChance(); Mvx.RegisterType(() => ApplicationContext); }
protected virtual void InitializeCommandHelper() { Mvx.RegisterType <IMvxCommandHelper, MvxWeakCommandHelper>(); }
public void Load() { Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>(); // note that WindowsStore does not support IMvxComposeEmailTaskEx }
public void Load() { Mvx.RegisterType <IMvxWebBrowserTask, MvxWebBrowserTask>(); }
private void InitializeData() { Mvx.RegisterType <IContactRepository, ContactRepository>(); Mvx.RegisterType <IBarrierRepository, BarrierRepository>(); Mvx.RegisterType <ISettingRepository, SettingRepository>(); }
public void Load() { Mvx.RegisterType <IMvxPictureChooserTask, MvxImagePickerTask>(); Mvx.CallbackWhenRegistered <IMvxValueConverterRegistry>(RegisterValueConverter); }
public void Load() { Mvx.RegisterType <ILoginIdentityProviderTask, LoginIdentityProviderTask>(); }
public void Load() { Mvx.RegisterType <IMessageService, MessageService>(); }
public void Load() { Mvx.RegisterType(() => CrossBleAdapter.Current); Mvx.RegisterType(() => CrossBleAdapter.AdapterScanner); }
public void Load() { Mvx.RegisterType <IMvxResourceLoader, MvxStoreResourceLoader>(); }
public void Load() { Mvx.RegisterType <IMvxFileStore, MvxIsolatedStorageFileStore>(); Mvx.RegisterType <IMvxFileStoreAsync, MvxIsolatedStorageFileStore>(); }
public void Load() { Mvx.RegisterType <IMvxFileStore, MvxAndroidFileStore>(); Mvx.RegisterType <IMvxFileStoreAsync, MvxAndroidFileStore>(); }
public void Load() { Mvx.RegisterType <IMvxResourceLoader, MvxAndroidResourceLoader>(); }
public void Load() { Mvx.RegisterType <IMvxPictureChooserTask, MvxPictureChooserTask>(); }
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>(); }
public void Load() { Mvx.RegisterType <IMvxComposeEmailTask, MvxComposeEmailTask>(); Mvx.RegisterType <IMvxComposeEmailTaskEx, MvxComposeEmailTask>(); }
public void Load() { Mvx.RegisterType <IMvxShareTask, MvxShareTask>(); }
public void Load() { Mvx.RegisterType <IMvxResourceLoader, MvxTouchResourceLoader>(); }