public static void Initialize(MXApplication theApp, Context applicationContext)
        {
            MXContainer.InitializeContainer(new MXDroidContainer(theApp));
            MXContainer.Instance.ThreadedLoad = true;

            ApplicationContext = applicationContext;
        }
Пример #2
0
        public static void Initialize(MXApplication theApp, Frame navFrame)
        {
            MXContainer.InitializeContainer(new MXWindowsContainer(theApp));
            MXContainer.Instance.ThreadedLoad = false;

            NavigationFrame = navFrame;
        }
Пример #3
0
        public static void Initialize(MXApplication theApp, Frame navFrame)
        {
            MXContainer.InitializeContainer(new MXWindowsContainer(theApp));
            MXContainer.Instance.ThreadedLoad = false;

            NavigationFrame = navFrame;
        }
Пример #4
0
        private MXTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
            : base(theApp, appDelegate, window)
        {
            touchNavigation = new MXTouchNavigation(appDelegate, window);

            ViewGroups = new List<MXTouchViewGroup>();
        }
        public MXViewModelPhoneContainer(MXApplication theApp, PhoneApplicationFrame rootFrame)
            : base(theApp, rootFrame)
        {
            var dispatcher = rootFrame.Dispatcher;

            _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXPhoneViewDispatcher(dispatcher));
        }
        public static void Initialize(MXApplication theApp)
        {
            MXContainer.InitializeContainer(new MXConsoleContainer(theApp));

            // non-threaded container, not needed as all input is blocking (old-school)
            MXContainer.Instance.ThreadedLoad = false;
        }
Пример #7
0
        public static void Initialize(MXApplication theApp, Context applicationContext)
        {
            MXContainer.InitializeContainer(new MXDroidContainer(theApp));
            MXContainer.Instance.ThreadedLoad = true;

            ApplicationContext = applicationContext;
        }
Пример #8
0
        public static void Initialize(MXApplication theApp)
        {
            MXContainer.InitializeContainer(new MXConsoleContainer(theApp));

            // non-threaded container, not needed as all input is blocking (old-school)
            MXContainer.Instance.ThreadedLoad = false;
        }
Пример #9
0
        public static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
        {
            // initialize the application and hold a reference for a bit
            MXTouchContainer thisContainer = new MXTouchContainer(theApp, appDelegate, window);

            Initialize(thisContainer);
        }
Пример #10
0
        private MXSlideoutContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window) : base(theApp)
        {
            _appDelegate = appDelegate;
            Menu         = new SlideoutNavigationController();

            _window = window;
            _window.RootViewController = Menu;
        }
Пример #11
0
		protected MXTouchContainer (MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window): base(theApp)
		{
			_appDelegate = appDelegate;
			_touchNavigation = new MXTouchNavigation(_appDelegate);
			_window = window;
			
			ViewGroups = new List<MXTouchViewGroup>();
		}
        public static void Initialize(MXApplication theApp)
        {
            MXContainer.InitializeContainer(new MXWebkitContainer(theApp));

            // no threading in web generation, not needed as all output
            // is on the server and synchronous anyway
            MXContainer.Instance.ThreadedLoad = false;
        }
Пример #13
0
        protected MXTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window) : base(theApp)
        {
            _appDelegate     = appDelegate;
            _touchNavigation = new MXTouchNavigation(_appDelegate);
            _window          = window;

            ViewGroups = new List <MXTouchViewGroup>();
        }
        public static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
        {
            // initialize the application and hold a reference for a bit
            MXTouchSlideoutContainer thisContainer = new MXTouchSlideoutContainer(theApp, appDelegate, window);
            MXContainer.InitializeContainer(thisContainer);

            thisContainer.StartApplication();
        }
Пример #15
0
		public MXFormsContainer (MXApplication app, NavigationPage navigationPage, Action<Task> onInitializationFinished = null) : base (app)
		{
			this.formsNavigation = new MXFormsNavigation(navigationPage);
			this.onInitializationFinished = onInitializationFinished;

			MXContainer.InitializeContainer(this);
			startApplication();
		}
Пример #16
0
        public static void Initialize(MXApplication theApp)
        {
            InitializeContainer(new MXWebkitContainer(theApp));

            // no threading in web generation, not needed as all output
            // is on the server and synchronous anyway
            Instance.ThreadedLoad = false;
        }
Пример #17
0
        public MXFormsContainer(MXApplication app, NavigationPage navigationPage, Action <Task> onInitializationFinished = null) : base(app)
        {
            this.formsNavigation          = new MXFormsNavigation(navigationPage);
            this.onInitializationFinished = onInitializationFinished;

            MXContainer.InitializeContainer(this);
            startApplication();
        }
Пример #18
0
        public static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
        {
            // initialize the application and hold a reference for a bit
            MXSlideoutContainer thisContainer = new MXSlideoutContainer(theApp, appDelegate, window);

            MXContainer.InitializeContainer(thisContainer);

            thisContainer.StartApplication();
        }
Пример #19
0
        private MXSlideoutContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
            : base(theApp)
        {
            _appDelegate = appDelegate;
            Menu = new SlideoutNavigationController();

            _window = window;
            _window.RootViewController = Menu;
        }
Пример #20
0
        private MXTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window) : base(theApp, appDelegate, window)
        {
            touchNavigation = new MXTouchNavigation(appDelegate, window);

            ViewGroups = new List <MXTouchViewGroup>();
        }
 public new static void Initialize(MXApplication theApp, Context applicationContext)
 {
     InitializeContainer(new MXViewModelDroidContainer(theApp, applicationContext));
 }
Пример #22
0
 private MXViewModelTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
     : base(theApp, appDelegate, window)
 {
     _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXUIMainThreadDispatcher());
 }
Пример #23
0
 public new static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
 {
     Initialize(new MXViewModelTouchContainer(theApp, appDelegate, window));
 }
 public MXConsoleContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #25
0
		public static void Initialize(MXApplication theApp, NavigationPage navigationPage, Action<Task> onInitializationFinished = null)
		{
			// initialize the application and hold a reference for a bit
			MXFormsContainer thisContainer = new MXFormsContainer(theApp, navigationPage, onInitializationFinished);

		}
Пример #26
0
 public MXConsoleContainer(MXApplication theApp)
     : base(theApp)
 {
 }
 public new static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
 {
     InitializeContainer(new MXViewModelPhoneContainer(theApp, rootFrame));
 }
Пример #28
0
 public MXDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp)
 {
     ApplicationContext = applicationContext;
 }
 public MXPhoneContainer(MXApplication theApp, PhoneApplicationFrame frame)
     : base(theApp)
 {
     _rootFrame         = frame;
     _rootFrame.Loaded += new RoutedEventHandler(_rootFrame_Loaded);
 }
Пример #30
0
 public MXPhoneContainer(MXApplication theApp, PhoneApplicationFrame frame)
     : base(theApp)
 {
     _rootFrame = frame;
     _rootFrame.Loaded += new RoutedEventHandler(_rootFrame_Loaded);
 }
Пример #31
0
 public static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
 {
     MXContainer.InitializeContainer(new MXPhoneContainer(theApp, rootFrame));
 }
Пример #32
0
 protected BaseMXTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
     : base(theApp)
 {
     this.appDelegate = appDelegate;
     this.window = window;
 }
Пример #33
0
        public static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
        {
            _rootFrame = rootFrame;

            MXContainer.InitializeContainer(new MXPhoneContainer(theApp));
        }
 protected MXTouchSlideoutContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
     : base(theApp, appDelegate, window)
 {
 }
 public MXDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp)
 {
     ApplicationContext = applicationContext;
 }
Пример #36
0
 public MXToastAlertingDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp, applicationContext)
 {
 }
 public MXToastAlertingDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp, applicationContext)
 {
 }
Пример #38
0
 protected MXWebkitContainer(MXApplication theApp)
     : base(theApp)
 {
 }
 public MXViewModelPhoneContainer(MXApplication theApp, PhoneApplicationFrame rootFrame)
     : base(theApp, rootFrame)
 {
     var dispatcher = rootFrame.Dispatcher;
     _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXPhoneViewDispatcher(dispatcher));
 }
Пример #40
0
 public MXPhoneContainer(MXApplication theApp)
     : base(theApp)
 {
 }
 public new static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
 {
     InitializeContainer(new MXViewModelPhoneContainer(theApp, rootFrame));
 }
Пример #42
0
 public MXDroidContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #43
0
 public MXViewModelDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp, applicationContext)
 {
     _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXSimpleDispatcher());
 }
 public MXDroidContainer(MXApplication theApp)
     : base(theApp)
 {
 }
 public MXViewModelDroidContainer(MXApplication theApp, Context applicationContext)
     : base(theApp, applicationContext)
 {
     _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXSimpleDispatcher());
 }
Пример #46
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MXWindowsContainer"/> class.
 /// </summary>
 /// <param name="theApp">The application to contain.</param>
 public MXWindowsContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #47
0
 public MXWindowsContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #48
0
 public MXPhoneContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #49
0
 public new static void Initialize(MXApplication theApp, Context applicationContext)
 {
     InitializeContainer(new MXViewModelDroidContainer(theApp, applicationContext));
 }
        public new static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
        {
			Initialize(new MXViewModelTouchContainer(theApp, appDelegate, window));
        }
Пример #51
0
 public static void Initialize(MXApplication theApp, NavigationPage navigationPage, Action <Task> onInitializationFinished = null)
 {
     // initialize the application and hold a reference for a bit
     MXFormsContainer thisContainer = new MXFormsContainer(theApp, navigationPage, onInitializationFinished);
 }
Пример #52
0
 protected BaseMXTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window) : base(theApp)
 {
     this.appDelegate = appDelegate;
     this.window      = window;
 }
 private MXViewModelTouchContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
     : base(theApp, appDelegate, window)
 {
     _viewModelLifeCycleHelper = new MXViewModelLifeCycleHelper(() => new MXUIMainThreadDispatcher());
 }
Пример #54
0
		public static void Initialize(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window)
		{
			// initialize the application and hold a reference for a bit
			MXTouchContainer thisContainer = new MXTouchContainer(theApp, appDelegate, window);
            Initialize(thisContainer);
		}
Пример #55
0
 protected MXWebkitContainer(MXApplication theApp)
     : base(theApp)
 {
 }
Пример #56
0
        public static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
        {
            _rootFrame = rootFrame;

            InitializeContainer(new MXPhoneContainer(theApp));
        }
 protected MXTouchSlideoutContainer(MXApplication theApp, UIApplicationDelegate appDelegate, UIWindow window) : base(theApp, appDelegate, window)
 {
 }