Exemplo n.º 1
0
 /// <summary>
 /// Constructs a new instance of the <see cref="ServerEngine"/> class and opens a
 /// connection to the database.
 /// </summary>
 public ServerEngine()
 {
     settings = ServerSettings.Instance();
     dbcon    = null;
     ConnectToDatabase();
 }
Exemplo n.º 2
0
 static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     ServerSettings.Instance().Log.LogError("An unhandled exception occured in CrawlWaver.Service: " + ((Exception)e.ExceptionObject).ToString());
 }
Exemplo n.º 3
0
 public Service()
 {
     InitializeComponent();
     settings = ServerSettings.Instance();
 }