static void Main(string[] args) { Console.WriteLine ("Hello World from Helix.Glob.TheMain!"); TheMain main = new TheMain (); main.Execute (); }
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 }