Exemplo n.º 1
0
 static void Main(string[] args)
 {
     Console.WriteLine ("Hello World from Helix.Glob.TheMain!");
     TheMain main = new TheMain ();
     main.Execute ();
 }
Exemplo n.º 2
0
        public TheMain()
        {
            using (EnEx ee = new EnEx ("TheMain::TheMain()")) {

                // Turn on all logs for the moment.  Our AdaptiveLogs will adjust this later when it starts up.
                Log.SetPanic (true);
                Log.SetError (true);
                Log.SetWarn (true);
                Log.SetInfo (true);
                Log.SetDebug (true);
                Log.SetTrace (true);
                Log.SetSqlTrace (true);

                // Find and load our configuration
                FindConfigFile ();
                LoadConfig ();

                // Tell everyone that we exist now
                _globalTheMain = this;
            } // End EnEx using
        }