internal static void RunInReleaseMode()
 {
     AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
     try
     {
         EditorBootstrapper bootstrapper = new EditorBootstrapper();
         bootstrapper.Run();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
Example #2
0
 /// <summary>
 /// Edits the configuration - method used by the UT to unit test the configuration parameter propagation.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 /// <param name="runUI">if set to <c>true</c> [run UI].</param>
 /// <exception cref="System.ArgumentNullException"></exception>
 internal virtual void EditConfiguration(ConfigurationData configuration, bool runUI)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException(nameof(configuration));
     }
     ConfigurationDataModel.ConfigurationDataRepository.SetConfigurationData = configuration;
     if (!runUI)
     {
         return;
     }
     EditorBootstrapper.RunInDebugMode();
 }
        internal static void RunInDebugMode()
        {
            EditorBootstrapper bootstrapper = new EditorBootstrapper();

            bootstrapper.Run();
        }