- Timestamp:
- 06/08/09 02:02:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces/IParameter.cs
r1994 r2030 27 27 namespace HeuristicLab.Core { 28 28 /// <summary> 29 /// Interface to store meta-information about parameters of operators.29 /// Interface to represent parameters of operators. 30 30 /// </summary> 31 31 public interface IParameter : IItem { 32 32 /// <summary> 33 /// Gets or sets the name of the current instance.33 /// Gets or sets the actual name of the parameter. 34 34 /// </summary> 35 string Name { get; }35 string ActualName { get; set; } 36 36 /// <summary> 37 /// Gets the description of the current instance.37 /// Gets or sets the formal name of the parameter. 38 38 /// </summary> 39 string Description { get; } 39 string FormalName { get; } 40 /// <summary> 41 /// Gets or sets the description of the current instance. 42 /// </summary> 43 string Description { get; set; } 40 44 /// <summary> 41 45 /// Gets the data type of the current instance. … … 46 50 /// </summary> 47 51 ParameterType Type { get; } 52 /// <summary> 53 /// Gets or sets, if the parameter is constant (only valid for input parameters). 54 /// </summary> 55 bool Constant { get; set; } 56 /// <summary> 57 /// Gets or sets, if the parameter should be cached by operators. 58 /// </summary> 59 bool Cached { get; set; } 60 /// <summary> 61 /// Gets or sets the value of the parameter. 62 /// </summary> 63 IItem Value { get; set; } 64 65 /// <summary> 66 /// Occurs when the actual name of the current instance has been changed. 67 /// </summary> 68 event EventHandler ActualNameChanged; 69 /// <summary> 70 /// Occurs when the description of the current instance has been changed. 71 /// </summary> 72 event EventHandler DescriptionChanged; 73 /// <summary> 74 /// Occurs when the constant flag of the current instance has been changed. 75 /// </summary> 76 event EventHandler ConstantChanged; 77 /// <summary> 78 /// Occurs when the cached flag of the current instance has been changed. 79 /// </summary> 80 event EventHandler CachedChanged; 81 /// <summary> 82 /// Occurs when the value of the current instance has been changed. 83 /// </summary> 84 event EventHandler ValueChanged; 85 86 } 87 88 /// <summary> 89 /// Generic interface to represent parameters of operators. 90 /// </summary> 91 /// <typeparam name="T">The data type of the parameter, which has to be an <see cref="IItem"/>.</typeparam> 92 public interface IParamter<T> : IParameter where T : class, IItem { 93 /// <summary> 94 /// Gets or sets the value of the parameter. 95 /// </summary> 96 T Value { get; set; } 48 97 } 49 98 }
Note: See TracChangeset
for help on using the changeset viewer.