Changeset 4482 for trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Attributes/PluginAttribute.cs
- Timestamp:
- 09/24/10 10:24:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Attributes/PluginAttribute.cs
r4068 r4482 53 53 } 54 54 55 [Obsolete]56 public PluginAttribute(string name) : this(name, "0.0.0.0") { }57 58 55 /// <summary> 59 56 /// Initializes a new instance of <see cref="PluginAttribute"/>. … … 74 71 if (string.IsNullOrEmpty(name)) throw new ArgumentException("Plugin name is null or empty."); 75 72 if (description == null) throw new ArgumentNullException("description"); 76 if (string.IsNullOrEmpty(version)) new ArgumentException("Version string is null or empty.");73 if (string.IsNullOrEmpty(version)) throw new ArgumentException("Version string is null or empty."); 77 74 this.name = name; 78 75 this.description = description;
Note: See TracChangeset
for help on using the changeset viewer.