Ejemplo n.º 1
0
        internal static void RunInReleaseMode()
        {
            AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
            AppBootstrapper _bootstrapper;

            try
            {
                _bootstrapper = new AppBootstrapper();
                _bootstrapper.Run();
            }
            catch (Exception ex)
            {
                HandleException(ex);
                ITraceSource _logger = new TraceSourceBase();
                _logger.TraceData(TraceEventType.Critical, 51, $"Exception while composing the application: {ex}");
            }
        }
        public void CreationStateTestMethod()
        {
            TraceSourceBase _trace = new TraceSourceBase();

            _trace.TraceData(TraceEventType.Critical, 0, null);
        }