Beispiel #1
0
        public void TestMethod1()
        {
            var baseToTest = new MarsApp.BaseApp();

            Assert.IsTrue(baseToTest.InitBase());
            baseToTest.Dispose();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            if (args == null || args.Length != 1)
            {
                return;
            }

            var baseApp = new BaseApp();

            if (baseApp != null)
            {
                if (baseApp.InitBase())
                {
                    var system = baseApp.Container.Resolve <SystemAppViewModel>();
                    if (system != null)
                    {
                        system.Run(args, baseApp.Container);
                    }
                }

                baseApp.Dispose();
            }
        }