private static void ApplicationInitialize() { // log4net XmlConfigurator.Configure(); // Appdomain ExceptionHandler.Initialize(); // Invariantculture CultureConfigurator.Configure(); }
public static void Initialize() { // Culture CultureConfigurator.Configure(); // Log4Net XmlConfigurator.Configure(); // Log4Net Log4netHelper.LoggerPrefix = "OrderCalculator.App"; // Exception Handler ExceptionHandler.Initialize(); }
private void Run() { CultureConfigurator.Configure(); bool signaled; var sleepTime = this._settings.SleepTime; do { var success = this._dataAnalysis.Process(); if (!success) { Thread.Sleep(sleepTime); } signaled = this._manualResetEvent.WaitOne(0); } while (!signaled); }
private static void Initialize() { // Culture CultureConfigurator.Configure(); // Log4Net XmlConfigurator.Configure(); // Log4Net Log4netHelper.LoggerPrefix = "WebScreenshotTakerApp"; // Exception Handler ExceptionHandler.Initialize(); // Assembly Resolver CefSharpAssemblyResolver.Initialize(); // CefSharp CefSharpConfigurator.InitializeCef(); }