Changeset 11440
- Timestamp:
- 10/10/14 08:45:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scripting.Views/3.3/VariableStoreView.cs
r11439 r11440 176 176 string type = variable.Value == null ? "null" : variable.Value.GetType().ToString(); 177 177 bool serializable = IsSerializable(variable); 178 bool validIdentifier = SafeVariableNameRegex.IsMatch(variable.Key); 178 179 if (!serializable) listViewItem.ImageIndex = 0; 180 else if (!validIdentifier) listViewItem.ImageIndex = 1; 179 181 else if (variable.Value != null) listViewItem.ImageIndex = 2; 180 182 else listViewItem.ImageIndex = 3;
Note: See TracChangeset
for help on using the changeset viewer.