Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 17:31:39 (9 years ago)
Author:
gkronber
Message:

#2522: removed support for restarting of HL-applications (nobody seems to use this anyway)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/Attributes/ApplicationAttribute.cs

    r12012 r13343  
    4545    }
    4646
    47     private bool restartOnErrors;
    48     /// <summary>
    49     /// Gets whether the plugin should be automatically restarted when it is closed because of an exception (for services).
    50     /// </summary>
    51     public bool RestartOnErrors {
    52       get { return restartOnErrors; }
    53     }
    54 
    5547    /// <summary>
    5648    /// Initializes a new instance of <see cref="ApplicationAttribute"/>.
     
    6557    /// <param name="name">Name of the application</param>
    6658    /// <param name="description">Description of the application</param>
    67     /// </summary>
    68     public ApplicationAttribute(string name, string description)
    69       : this(name, description, false) {
    70     }
    71 
    72     /// <summary>
    73     /// Initializes a new instance of <see cref="ApplicationAttribute"/>.
    74     /// <param name="name">Name of the application</param>
    75     /// <param name="description">Description of the application</param>
    7659    /// <param name="restartOnErrors">Flag that indicates if the application should be restarted on exceptions (for services)</param>
    7760    /// </summary>
    78     public ApplicationAttribute(string name, string description, bool restartOnErrors) {
     61    public ApplicationAttribute(string name, string description) {
    7962      if (name == null) throw new ArgumentNullException("name", "Application name is null.");
    8063      if (description == null) throw new ArgumentNullException("description", "Application description is null.");
    8164      this.name = name;
    8265      this.description = description;
    83       this.restartOnErrors = restartOnErrors;
    8466    }
    8567  }
Note: See TracChangeset for help on using the changeset viewer.