/// <summary> /// Fills data table. /// </summary> /// <param name="id"> /// Array of sequences ids. /// </param> /// <param name="characteristicsNames"> /// Array of characteristics names. /// </param> /// <param name="characteristics"> /// Two-dimensional array of characteristics values. /// </param> /// <returns> /// The <see cref="DataTable"/>. /// </returns> public static DataTable FillDataTable(long[] id, string[] characteristicsNames, List<List<double>> characteristics) { var result = new DataTable(); for (int j = 0; j < id.Length; j++) { result.Add(FormDataObject(characteristics[j], characteristicsNames, id[j])); } return result; }
/// <summary> /// The clone. /// </summary> /// <returns> /// The <see cref="IBaseObject"/>. /// </returns> public IBaseObject Clone() { var clone = new DataTable(); foreach (var element in vault) { clone.Add((DataObject)element); } return clone; }