Changeset 2488 for branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Attributes/PluginAttribute.cs
- Timestamp:
- 11/12/09 17:45:45 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Attributes/PluginAttribute.cs
r2481 r2488 30 30 /// </summary> 31 31 [AttributeUsage(AttributeTargets.Class)] 32 public class Plugin DescriptionAttribute : System.Attribute {32 public class PluginAttribute : System.Attribute { 33 33 private string name; 34 34 /// <summary> … … 49 49 //} 50 50 51 //private string description;52 /// //<summary>53 /// //Gets or sets the description of the plugin.54 /// //</summary>55 //public string Description {56 //get { return description; }57 //set { description = value; }58 //}51 private string description; 52 /// <summary> 53 /// Gets or sets the description of the plugin. 54 /// </summary> 55 public string Description { 56 get { return description; } 57 // set { description = value; } 58 } 59 59 60 60 /// <summary> 61 /// Initializes a new instance of <see cref="Plugin DescriptionAttribute"/>.61 /// Initializes a new instance of <see cref="PluginAttribute"/>. 62 62 /// <param name="name">Name of the plugin</param> 63 63 /// </summary> 64 public Plugin DescriptionAttribute(string name) {65 this.name = name;64 public PluginAttribute(string name) 65 : this(name, "") { 66 66 } 67 67 68 ///// <summary> 69 ///// Initializes a new instance of <see cref="PluginDescriptionAttribute"/>. 70 ///// <param name="name">Name of the plugin</param> 71 ///// <param name="description">Description of the plugin</param> 72 ///// </summary> 73 //public PluginDescriptionAttribute(string name, string description) 74 // : this(name, description, "") { 75 //} 68 /// <summary> 69 /// Initializes a new instance of <see cref="PluginAttribute"/>. 70 /// <param name="name">Name of the plugin</param> 71 /// <param name="description">Description of the plugin</param> 72 /// </summary> 73 public PluginAttribute(string name, string description) { 74 this.name = name; 75 this.description = description; 76 } 76 77 77 78 ///// <summary>
Note: See TracChangeset
for help on using the changeset viewer.