Changeset 13343 for branches/RefactorPluginInfrastructure-2522
- Timestamp:
- 11/23/15 17:31:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure/3.3/Attributes/ApplicationAttribute.cs
r12012 r13343 45 45 } 46 46 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 55 47 /// <summary> 56 48 /// Initializes a new instance of <see cref="ApplicationAttribute"/>. … … 65 57 /// <param name="name">Name of the application</param> 66 58 /// <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>76 59 /// <param name="restartOnErrors">Flag that indicates if the application should be restarted on exceptions (for services)</param> 77 60 /// </summary> 78 public ApplicationAttribute(string name, string description , bool restartOnErrors) {61 public ApplicationAttribute(string name, string description) { 79 62 if (name == null) throw new ArgumentNullException("name", "Application name is null."); 80 63 if (description == null) throw new ArgumentNullException("description", "Application description is null."); 81 64 this.name = name; 82 65 this.description = description; 83 this.restartOnErrors = restartOnErrors;84 66 } 85 67 }
Note: See TracChangeset
for help on using the changeset viewer.