- Timestamp:
- 01/30/09 12:46:32 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/BaseClasses
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/BaseClasses/ApplicationBase.cs ¶
r242 r1189 26 26 27 27 namespace HeuristicLab.PluginInfrastructure { 28 /// <summary> 29 /// Default implementation for the IApplication interface. 30 /// </summary> 28 31 public abstract class ApplicationBase : IApplication { 29 32 private string name; … … 32 35 private bool autoRestart; 33 36 37 /// <summary> 38 /// Initializes a new instance of <see cref="ApplicationBase"/>. 39 /// </summary> 34 40 public ApplicationBase() { 35 41 ReadAttributes(); … … 75 81 #region IApplication Members 76 82 83 /// <summary> 84 /// Gets the name of the application. 85 /// </summary> 77 86 public string Name { 78 87 get { return name; } 79 88 } 80 89 90 /// <summary> 91 /// Gets the version of the application. 92 /// </summary> 81 93 public Version Version { 82 94 get { return version; } 83 95 } 84 96 97 /// <summary> 98 /// Gets the description of the application. 99 /// </summary> 85 100 public string Description { 86 101 get { return description; } 87 102 } 88 103 104 /// <summary> 105 /// Gets the boolean flag whether the application should automatically get restarted. 106 /// </summary> 89 107 public bool AutoRestart { 90 108 get { return autoRestart; } 91 109 } 92 110 111 /// <summary> 112 /// Runs the application. 113 /// </summary> 93 114 public abstract void Run(); 94 115 -
TabularUnified trunk/sources/HeuristicLab.PluginInfrastructure/BaseClasses/PluginBase.cs ¶
r8 r1189 36 36 private string description; 37 37 38 /// <summary> 39 /// Initializes a new instance of <see cref="PluginBase"/>. 40 /// </summary> 38 41 public PluginBase() { 39 42 ReadAttributes(); … … 84 87 85 88 #region IPlugin Members 89 /// <summary> 90 /// Gets the name of the plugin. 91 /// </summary> 86 92 public string Name { 87 93 get { … … 90 96 } 91 97 98 /// <summary> 99 /// Gets the version of the plugin. 100 /// </summary> 92 101 public Version Version { 93 102 get { … … 96 105 } 97 106 107 /// <summary> 108 /// Gets the description of the plugin. 109 /// </summary> 98 110 public string Description { 99 111 get { … … 102 114 } 103 115 116 /// <inheritdoc/> 104 117 public string[] Files { 105 118 get { … … 108 121 } 109 122 123 /// <inheritdoc/> 110 124 public virtual void OnInstall() { 111 125 } 112 126 127 /// <inheritdoc/> 113 128 public virtual void OnDelete() { 114 129 } 115 130 131 /// <inheritdoc/> 116 132 public virtual void OnPreUpdate() { 117 133 } 118 134 135 /// <inheritdoc/> 119 136 public virtual void OnPostUpdate() { 120 137 }
Note: See TracChangeset
for help on using the changeset viewer.