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

            ApplicationContext = applicationContext;
        }
Esempio n. 2
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;
        }
Esempio n. 3
0
        public static void Initialize(MXApplication theApp, Frame navFrame)
        {
            MXContainer.InitializeContainer(new MXWindowsContainer(theApp));
            MXContainer.Instance.ThreadedLoad = false;

            NavigationFrame = navFrame;
        }
Esempio n. 4
0
        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;
        }
Esempio n. 5
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();
        }
Esempio n. 6
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();
        }
Esempio n. 7
0
        public static void Initialize(MXApplication theApp, PhoneApplicationFrame rootFrame)
        {
            _rootFrame = rootFrame;

            MXContainer.InitializeContainer(new MXPhoneContainer(theApp));
        }
Esempio n. 8
0
 protected static void Initialize(MXTouchContainer container)
 {
     MXContainer.InitializeContainer(container);
     container.StartApplication();
 }