- Timestamp:
- 11/25/16 16:16:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Content/PreprocessingChartContent.cs
r14185 r14418 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Analysis; 27 26 using HeuristicLab.Common; … … 126 125 127 126 128 public ICheckedItemList<StringValue> CreateVariableItemList(IEnumerable<string> checkedItems = null) { 127 public ICheckedItemList<StringValue> CreateVariableItemList(IList<string> checkedItems = null) { 128 if (checkedItems == null) checkedItems = new string[0]; 129 129 ICheckedItemList<StringValue> itemList = new CheckedItemList<StringValue>(); 130 130 foreach (string name in PreprocessingData.GetDoubleVariableNames()) { 131 131 var n = new StringValue(name); 132 itemList.Add(n, (checkedItems == null) ? true :checkedItems.Contains(name));132 itemList.Add(n, checkedItems.Contains(name)); 133 133 } 134 134 return new ReadOnlyCheckedItemList<StringValue>(itemList);
Note: See TracChangeset
for help on using the changeset viewer.