Changeset 801 for trunk/sources/HeuristicLab.Operators/DataCollector.cs
- Timestamp:
- 11/21/08 09:48:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/DataCollector.cs
r723 r801 27 27 28 28 namespace HeuristicLab.Operators { 29 /// <summary> 30 /// Collects values of specific variable names in a given scope. 31 /// </summary> 29 32 public class DataCollector : OperatorBase { 33 /// <inheritdoc select="summary"/> 30 34 public override string Description { 31 35 get { return @"TODO\r\nOperator description still missing ..."; } 32 36 } 33 37 38 /// <summary> 39 /// Initializes a new instance of <see cref="DataCollector"/> with two variable infos 40 /// (<c>VariableNames</c> and <c>Values</c>). 41 /// </summary> 34 42 public DataCollector() { 35 43 IVariableInfo variableNamesVariableInfo = new VariableInfo("VariableNames", "Names of variables whose values should be collected", typeof(ItemList<StringData>), VariableKind.In); … … 41 49 } 42 50 51 /// <summary> 52 /// Collects the values of a specified list of variable names in the given <paramref name="scope"/>. 53 /// </summary> 54 /// <param name="scope">The scope where to collect the values from.</param> 55 /// <returns><c>null</c>.</returns> 43 56 public override IOperation Apply(IScope scope) { 44 57 ItemList<StringData> names = GetVariableValue<ItemList<StringData>>("VariableNames", scope, false);
Note: See TracChangeset
for help on using the changeset viewer.