protected virtual void RegisterCore() { var binder = new MvxFromTextBinder(); Mvx.RegisterSingleton <IMvxBinder>(binder); }
protected virtual void RegisterBindingDescriptionParser() { var parser = CreateBindingDescriptionParser(); Mvx.RegisterSingleton(parser); }
protected virtual void RegisterExpressionParser() { Mvx.RegisterSingleton <IMvxPropertyExpressionParser>(new MvxPropertyExpressionParser()); }
public App() { Mvx.RegisterType <IAuthenticateService, AuthenticateService>(); Mvx.RegisterSingleton <IMvxAppStart>(new MvxAppStart <LogInPageViewModel>()); }
public void Load() { Mvx.RegisterSingleton <IMvxNativeColor>(new MvxStoreColor()); }
protected void RegisterAppStart <TViewModel>() where TViewModel : IMvxViewModel { Mvx.RegisterSingleton <IMvxAppStart>(new MvxAppStart <TViewModel>()); }
public void Load() { Mvx.RegisterSingleton <IMobileCenter>(new Services.MobileCenter()); }
public void Load() { Mvx.RegisterSingleton <IDiskInfoPlugin>(new DiskInfoPlugin()); }
public void Load() { Mvx.RegisterSingleton <IMvxProtectedData>(new MvxStoreProtectedData()); }
public void Load() { Mvx.RegisterSingleton <ICryptoTools>(new PlatformCryptoTools()); }
public override Type GetViewModelToTry() { Mvx.RegisterSingleton <GameCreation.GameCreationBundle>(new SoloBundle()); return(typeof(GameCreationViewModel)); }
protected override void InitializeLastChance() { Mvx.RegisterSingleton <IAsyncStorageService>(new DroidAsyncStorageService()); base.InitializeLastChance(); }
protected override IMvxApplication CreateApp() { Mvx.RegisterSingleton <IUserInfo>(new UserInfo(this.ApplicationContext)); return(new Core.App()); }
public void Load() { Mvx.RegisterSingleton <IGeofencingService>(() => new GeofencingService()); Mvx.Resolve <IGeofencingService>().Start(); }
protected virtual void InitializeSavedStateConverter() { var converter = CreateSavedStateConverter(); Mvx.RegisterSingleton(converter); }
protected override void InitializeLastChance() { Mvx.RegisterSingleton <IPlateformService>(new PlateformService()); Mvx.RegisterSingleton <ICalendarService>(new CalendarService()); base.InitializeLastChance(); }
public void Load() { Mvx.RegisterSingleton <ISettings>(new MvxWindowsStoreSettings()); }
public void Load() { Mvx.RegisterSingleton <IMvxNativeColor>(new MvxAndroidColor()); Mvx.CallbackWhenRegistered <IMvxTargetBindingFactoryRegistry>(RegisterDefaultBindings); }
protected void RegisterAppStart(IMvxAppStart appStart) { Mvx.RegisterSingleton(appStart); }
protected override void InitializeLastChance() { base.InitializeLastChance(); Mvx.RegisterSingleton <IUserNotificationService>(new UwpUserNotificationService()); }
protected override void InitializeLastChance() { base.InitializeLastChance(); Mvx.RegisterSingleton <IApplicationVersionService>(new ApplicationVersionService()); }
protected override void InitializeFirstChance() { base.InitializeFirstChance(); Mvx.RegisterSingleton <Core.Services.ILocalizeService>(new Services.LocalizeService()); }
public void Load() { Mvx.RegisterSingleton <IFileSystem>(new FileSystemImpl()); Mvx.RegisterSingleton <IFileViewer>(new FileViewerImpl()); }
public void Load() { Mvx.RegisterSingleton <IMvxThreadSleep>(new MvxThreadSleep()); }
public override void Initialize() { Mvx.RegisterSingleton <INotificationsSubscriber>(new NotificationsSubscriber()); }
public void Load() { Mvx.RegisterSingleton <IMvxNativeColor>(new MvxAndroidColor()); RegisterDefaultBindings(); }
protected virtual void RegisterSourcePropertyPathParser() { var tokeniser = this.CreateSourcePropertyPathParser(); Mvx.RegisterSingleton <IMvxSourcePropertyPathParser>(tokeniser); }
protected override void InitializeIoC() { base.InitializeIoC(); Mvx.RegisterSingleton <IDialogService>(() => new DialogService()); }
public void Load() { Mvx.RegisterSingleton<IMvxLocationWatcher>(() => new MvxAndroidFusedLocationWatcher()); }
protected override void InitializeIoC() { base.InitializeIoC(); Mvx.RegisterSingleton(() => UserDialogs.Instance); }