当前位置: 首页>>代码示例>>C#>>正文


C# Cirrious类代码示例

本文整理汇总了C#中Cirrious的典型用法代码示例。如果您正苦于以下问题:C# Cirrious类的具体用法?C# Cirrious怎么用?C# Cirrious使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Cirrious类属于命名空间,在下文中一共展示了Cirrious类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: LoadPlugins

 public override void LoadPlugins(Cirrious.CrossCore.Plugins.IMvxPluginManager pluginManager)
 {
     pluginManager.EnsurePluginLoaded<PluginLoader>();
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Visibility.PluginLoader>();
     pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.File.PluginLoader> ();
     base.LoadPlugins(pluginManager);
 }
开发者ID:juzzpig,项目名称:JabbRIsMobile,代码行数:7,代码来源:Setup.cs

示例2: FillValueConverters

		protected override void FillValueConverters(Cirrious.MvvmCross.Binding.Interfaces.Binders.IMvxValueConverterRegistry registry)
        {
            base.FillValueConverters(registry);

            var filler = new MvxInstanceBasedValueConverterRegistryFiller(registry);
            filler.AddFieldConverters(typeof(Converters));
        }
开发者ID:slodge,项目名称:azure-mobile-services,代码行数:7,代码来源:Setup.cs

示例3: FillBindingNames

 protected override void FillBindingNames(Cirrious.MvvmCross.Binding.BindingContext.IMvxBindingNameRegistry registry)
 {
     // use these to register default binding names
     //registry.AddOrOverwrite<NicerBinaryEdit>(be => be.MyCount);
     //registry.AddOrOverwrite(typeof(BinaryEdit),"N28Doofus");
     base.FillBindingNames(registry);
 }
开发者ID:khorenberg,项目名称:NPlus1DaysOfMvvmCross,代码行数:7,代码来源:Setup.cs

示例4: FillTargetFactories

 protected override void FillTargetFactories(Cirrious.MvvmCross.Binding.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     registry.RegisterCustomBindingFactory<BinaryEdit>(
                     "N28Doofus",
                     binary => new BinaryEditFooTargetBinding(binary));
     base.FillTargetFactories(registry);
 }
开发者ID:khorenberg,项目名称:NPlus1DaysOfMvvmCross,代码行数:7,代码来源:Setup.cs

示例5: Show

        public override void Show(Cirrious.MvvmCross.Touch.Views.IMvxTouchView view)
        {
            
            // When initializing views for the first time, we will setup 
            if (view is LoginViewController)
            {              
                _loginViewController = (LoginViewController) view;
                base.Show(view);             
            }
              
            else if (view is MainViewController)
            {                
                _mainViewController = (MainViewController) view;
                base.Show(view);
            }
            else
            {
                if (PresentView(view) == false)
                {
                    // No views can handle presenting this view...just push it on the navigation stack as last resort.
                    base.Show(view);
                }
            }
            _viewPresenters.Add(view);

            var viewPresenter = view as IViewPresenter;
            if (viewPresenter != null)
            {
                viewPresenter.ViewPresenterAdded();
            }
        }
开发者ID:kashifshaikh,项目名称:PropertyTracker,代码行数:31,代码来源:AppPresenter.cs

示例6: AddPluginsLoaders

 protected override void AddPluginsLoaders(Cirrious.MvvmCross.Platform.MvxLoaderPluginRegistry loaders)
 {
     loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.Location.WinRT.Plugin>();
     loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.ThreadUtils.WinRT.Plugin>();
     loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.Visibility.WinRT.Plugin>();
     base.AddPluginsLoaders(loaders);
 }
开发者ID:JoanMiro,项目名称:MvxMod,代码行数:7,代码来源:Setup.cs

示例7: AddPluginsLoaders

        protected override void AddPluginsLoaders(Cirrious.MvvmCross.Platform.MvxLoaderPluginRegistry loaders)
        {
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.ResourceLoader.WindowsPhone.Plugin>();
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.File.WindowsPhone.Plugin>();

            base.AddPluginsLoaders(loaders);
        }
开发者ID:Tinytoot,项目名称:TechdaysBeDemo,代码行数:7,代码来源:Setup.cs

示例8: AddPluginsLoaders

        protected override void AddPluginsLoaders(Cirrious.MvvmCross.Platform.MvxLoaderPluginRegistry loaders)
        {
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.DownloadCache.Touch.Plugin>();
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.File.Touch.Plugin>();
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.WebBrowser.Touch.Plugin>();

            base.AddPluginsLoaders (loaders);
        }
开发者ID:jorik041,项目名称:CrossBar,代码行数:8,代码来源:Setup.cs

示例9: MvxBindableGridView

		public MvxBindableGridView (Context context, IAttributeSet attrs, Cirrious.MvvmCross.Binding.Android.Views.MvxBindableListAdapter adapter)
            : base(context, attrs)
		{
			var itemTemplateId = Cirrious.MvvmCross.Binding.Android.Views.MvxBindableListViewHelpers.ReadTemplatePath (context, attrs);
			adapter.ItemTemplateId = itemTemplateId;
			Adapter = adapter;
			SetupItemClickListener ();
		}
开发者ID:gerich-home,项目名称:MvvmCross,代码行数:8,代码来源:MvxBindableGridView.cs

示例10: ChangePresentation

		public override void ChangePresentation (Cirrious.MvvmCross.ViewModels.MvxPresentationHint hint)
		{
			if (hint is MvxClosePresentationHint && 
                _window.RootViewController.ModalViewController is NewAppointmentView)
                this.CloseModalViewController();

			base.ChangePresentation (hint);
		}
开发者ID:geekpivot,项目名称:HealthClinic.biz,代码行数:8,代码来源:CustomPresenter.cs

示例11: FillValueConverters

        protected override void FillValueConverters(Cirrious.CrossCore.Converters.IMvxValueConverterRegistry registry)
        {
            base.FillValueConverters(registry);

            registry.AddOrOverwrite("SessionDetails", new SessionDetailsConverter());
            registry.AddOrOverwrite("MultiLine", new MultiLineTextValueConverter());
            registry.AddOrOverwrite("StringFormat", new StringFormatValueConverter());
            registry.AddOrOverwrite("Time", new TimeValueConverter());
        }
开发者ID:jorik041,项目名称:NycCodeCamp8,代码行数:9,代码来源:Setup.cs

示例12: FillTargetFactories

 protected override void FillTargetFactories(
     Cirrious.MvvmCross.Binding.Interfaces.Bindings.Target.Construction.IMvxTargetBindingFactoryRegistry registry)
 {
     registry.RegisterFactory(new MvxPropertyInfoTargetBindingFactory(typeof (ValueElement), "Value",
                                                                      (element, propertyInfo) =>
                                                                      new MvxElementValueTargetBinding(element,
                                                                                                       propertyInfo)));
     base.FillTargetFactories(registry);
 }
开发者ID:JoanMiro,项目名称:MvxMod,代码行数:9,代码来源:MvxBaseAndroidDialogBindingSetup.cs

示例13: Show

        public override void Show(Cirrious.MvvmCross.ViewModels.MvxViewModelRequest request)
        {
            var viewController = (UIViewController)Mvx.Resolve<IMvxTouchViewCreator>().CreateView(request);

            if (request.ViewModelType == typeof(FirstViewModel))
                _svc.SetLeft(viewController);
            else
                _svc.SetRight(viewController);
        }
开发者ID:KiranKumarAlugonda,项目名称:NPlus1DaysOfMvvmCross,代码行数:9,代码来源:Setup.cs

示例14: ShowView

        public override bool ShowView(Cirrious.MvvmCross.Touch.Interfaces.IMvxTouchView view)
        {
            if (view != TabBarPresenter)
            {
                if (TabBarPresenter.ShowView(view))
                    return true;
            }

            return base.ShowView(view);
        }
开发者ID:slodge,项目名称:mobile-samples,代码行数:10,代码来源:MWCPresenter.cs

示例15: Show

 public override void Show(Cirrious.MvvmCross.ViewModels.MvxViewModelRequest request)
 {
     if (_host != null)
     {
         var viewFinder = Mvx.Resolve<IMvxViewsContainer>();
         var viewType = viewFinder.GetViewType(request.ViewModelType);
         if (viewType == null) throw new MvxException("Could not find view type for " + request.ViewModelType);
         var view = Activator.CreateInstance(viewType);
         if (view == null) throw new MvxException("Could not load view for " + viewType);
         return;
     }
     base.Show(request);
 }
开发者ID:42Spikes,项目名称:F2S,代码行数:13,代码来源:MainViewPresenter.cs


注:本文中的Cirrious类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。