Esempio n. 1
0
        /// <summary>
        /// Run development test without delay/overhead of doing a full Mobius startup
        /// </summary>

        static void RunDevTestMethod()
        {
            bool Y = DebugMx.True;             // run code (avoid compiler warning)
            bool N = DebugMx.False;            // don't run code

            if (N)
            {
                Mobius.CdkSearchMx.CdkSimSearchMx.Test("12345 12345");
                Application.Exit();
            }

            if (N)
            {
                CommandLineService.ExecuteCommand("Test Experimental Code");
                Application.Exit();
            }

            if (N)
            {
                Environment.Exit(-1);
                //Application.Exit();
            }

            if (N)
            {
                List <string> members = Mobius.UAL.ActiveDirectoryDao.GetGroupMembers(@"<domain>\Approved_Mobius_Chemview");
                return;
            }
        }