public void TestMethod1() { var baseToTest = new MarsApp.BaseApp(); Assert.IsTrue(baseToTest.InitBase()); baseToTest.Dispose(); }
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(); } }