예제 #1
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Visibility.PluginLoader>();
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Json.PluginLoader>();
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.DownloadCache.PluginLoader>();
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.File.PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #2
0
        public override void LoadPlugins(IMvxPluginManager pluginManager)
        {
            base.LoadPlugins(pluginManager);
            //pluginManager.EnsurePluginLoaded<Acr.MvvmCross.Plugins.BarCodeScanner.PluginLoader>();
            //pluginManager.EnsurePluginLoaded<Acr.MvvmCross.Plugins.DeviceInfo.PluginLoader>();
            //pluginManager.EnsurePluginLoaded<Acr.MvvmCross.Plugins.Settings.PluginLoader>();
            pluginManager.EnsurePluginLoaded<Acr.MvvmCross.Plugins.UserDialogs.PluginLoader>();

            pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Messenger.PluginLoader>();
			pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.DownloadCache.PluginLoader>();
			pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.PictureChooser.PluginLoader> ();
        }
예제 #3
0
        public override void LoadPlugins(IMvxPluginManager pluginManager)
        {
            base.LoadPlugins(pluginManager);
            pluginManager.EnsurePluginLoaded<MvvmCross.Plugins.Messenger.PluginLoader>();

            //We have to do this here, since the loading via bootloader won't work for UWP projects
            Mvx.RegisterType<IMvxComposeEmailTask, MvxComposeEmailTask>();
            Mvx.RegisterType<IMvxWebBrowserTask, MvxWebBrowserTask>();
            Mvx.RegisterType<IMvxSqliteConnectionFactory, WindowsSqliteConnectionFactory>();
            Mvx.RegisterType<IMvxFileStore, MvxWindowsCommonFileStore>();
        }
예제 #4
0
        public override void LoadPlugins(IMvxPluginManager pluginManager)
        {
            base.LoadPlugins(pluginManager);
            try
            {
                pluginManager.EnsurePluginLoaded<Acr.MvvmCross.Plugins.BarCodeScanner.PluginLoader>();
            }
            catch (Exception)
            {

            }
        }
예제 #5
0
        public override void LoadPlugins(IMvxPluginManager pluginManager) {
            base.LoadPlugins(pluginManager);
			pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.BarCodeScanner.PluginLoader>();
			pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.DeviceInfo.PluginLoader>();
			pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.Settings.PluginLoader>();
			pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.UserDialogs.PluginLoader>();
			pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.FileSystem.PluginLoader>();
            pluginManager.EnsurePlatformAdaptionLoaded<Acr.MvvmCross.Plugins.SignaturePad.PluginLoader>();
            pluginManager.EnsurePlatformAdaptionLoaded<Cirrious.MvvmCross.Plugins.Color.PluginLoader>();
            pluginManager.EnsurePlatformAdaptionLoaded<Cirrious.MvvmCross.Plugins.File.PluginLoader>();
			pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Messenger.PluginLoader>();
        }
 private bool OptionalLoadPlatformAdaption(IMvxPluginManager manager, Type type)
 {
     try
     {
         manager.EnsurePluginLoaded(type);
         return true;
     }
     catch (Exception exception /*Pokemon - catch them all*/)
     {
         MvxTrace.Trace("Exception loading {0} was {1}", type.FullName, exception.ToLongString());
         return false;
     }
 }
예제 #7
0
        public override void LoadPlugins(IMvxPluginManager pluginManager)
        {
            base.LoadPlugins(pluginManager);
            pluginManager.EnsurePluginLoaded<PluginLoader>();

            //We have to do this here, since the loading via bootloader won't work for UWP projects
            Mvx.RegisterType<IMvxComposeEmailTask, MvxComposeEmailTask>();
            Mvx.RegisterType<IMvxWebBrowserTask, MvxWebBrowserTask>();
            Mvx.RegisterType<IMvxSqliteConnectionFactory, WindowsSqliteConnectionFactory>();
            Mvx.RegisterType<IMvxFileStore, MvxWindowsCommonFileStore>();
            Mvx.RegisterType<ISettings, WindowsCommonSettings>();
            Mvx.RegisterType<IConnectivity, Connectivity>();
            Mvx.RegisterType<IMvxNativeVisibility, MvxWinRTVisibility>();
        }
예제 #8
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded<PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #9
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     base.LoadPlugins(pluginManager);
     pluginManager.EnsurePluginLoaded<PluginLoader>();
     Mvx.RegisterSingleton<IConnectivity>(() => new Connectivity());
 }
예제 #10
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     base.LoadPlugins(pluginManager);
     pluginManager.EnsurePluginLoaded<MvvmCross.Plugins.Messenger.PluginLoader>();
 }
예제 #11
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded <Cirrious.MvvmCross.Plugins.Color.PluginLoader>();
     pluginManager.EnsurePluginLoaded <Cirrious.MvvmCross.Plugins.Visibility.PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #12
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded <PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #13
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded <Cirrious.MvvmCross.Plugins.Messenger.PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #14
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded<PluginLoader>();
     pluginManager.EnsurePluginLoaded<MvvmCross.Plugins.Visibility.PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
예제 #15
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded <MvvmCross.Plugin.MethodBinding.Plugin>();
 }
예제 #16
0
파일: Setup.cs 프로젝트: hchev001/MoneyFox
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     base.LoadPlugins(pluginManager);
     pluginManager.EnsurePluginLoaded <PluginLoader>();
     Mvx.RegisterSingleton <IConnectivity>(() => new Connectivity());
 }
예제 #17
0
 protected virtual void Load(IMvxPluginManager manager)
 {
     manager.EnsurePluginLoaded <TPlugin>();
 }
예제 #18
0
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded <PluginLoader>();
     pluginManager.EnsurePluginLoaded <MvvmCross.Plugins.DownloadCache.PluginLoader>();
     base.LoadPlugins(pluginManager);
 }
 /// <summary>
 /// Load any additional plugins, calling parent
 /// </summary>
 /// <param name="pluginManager"></param>
 public override void LoadPlugins(IMvxPluginManager pluginManager)
 {
     base.LoadPlugins(pluginManager);
     pluginManager.EnsurePluginLoaded <MvvmCross.Plugin.Messenger.Plugin>();
 }
예제 #20
0
        public override void LoadPlugins(IMvxPluginManager pluginManager)
        {
            base.LoadPlugins(pluginManager);

            pluginManager.EnsurePluginLoaded <MvvmCross.Plugin.Location.Fused.Plugin>();
        }