Changeset 17346 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueTypeArrayConverter.cs
- Timestamp:
- 10/28/19 10:12:11 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueTypeArrayConverter.cs
r17342 r17346 23 23 #region Helper 24 24 private void CopyArrayData(ArrayType array, T[] data) { 25 var colInfo = array.GetType().GetProperty("Length"); 26 colInfo.SetValue(array, data.Length); 25 27 for (int i = 0; i < data.Length; ++i) { 26 28 array[i] = data[i];
Note: See TracChangeset
for help on using the changeset viewer.