Changeset 2503 for branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/BaseClasses
- Timestamp:
- 11/17/09 14:03:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/BaseClasses/PluginBase.cs
r2488 r2503 56 56 } 57 57 58 ///// <inheritdoc />59 //public Version Version {60 // get {61 // var pluginAttribute = PluginDescriptionAttribute;62 // // if the version is not set in the attribute then the version of the assembly is used as default63 // if (string.IsNullOrEmpty(pluginAttribute.Version)) {64 // return this.GetType().Assembly.GetName().Version;65 // } else {66 // return new Version(pluginAttribute.Version);67 // }68 // }69 //}70 71 ///// <inheritdoc />72 //public string Description {73 // get {74 // var pluginAttribute = PluginDescriptionAttribute;75 // // if the description is not explicitly set in the attribute then the name of the plugin is used as default76 // if (string.IsNullOrEmpty(pluginAttribute.Description)) {77 // return pluginAttribute.Name;78 // } else {79 // return pluginAttribute.Description;80 // }81 // }82 //}83 58 84 59 /// <inheritdoc/> … … 94 69 /// <inhertitdoc> 95 70 public virtual void OnLoad() { } 71 /// <inhertitdoc> 72 public virtual void OnUnload() { } 96 73 #endregion 97 74
Note: See TracChangeset
for help on using the changeset viewer.