예제 #1
0
        // ctor/abstract singleton initializers

        // disallow explict construction of the container by non-derived classes
        protected MXContainer(MXApplication theApp)
        {
            _theApp = theApp;
        }
예제 #2
0
 /// <summary>
 /// Sets the MonoCross application in the container.
 /// </summary>
 protected static void SetApp(MXApplication app)
 {
     Instance.App = app;
     Instance.App.OnAppLoad();
     Instance.App.OnAppLoadComplete();
 }