/// <summary> /// Initializes a new instance of the <see cref="UPSerialEntryInfoRowFromCRMResultRow"/> class. /// </summary> /// <param name="row">The row.</param> /// <param name="result">The result.</param> public UPSerialEntryInfoRowFromCRMResultRow(UPCRMResultRow row, UPSerialEntryInfoResult result) : base(result) { int cellCount = result.Info.ColumnNames.Count; List <string> cells = new List <string>(result.Info.ColumnNames.Count); for (int i = 0; i < cellCount; i++) { cells.Add(row.ValueAtIndex(i)); } this.Cells = cells; }
/// <summary> /// Initializes a new instance of the <see cref="UPSerialEntryInfoRow"/> class. /// </summary> /// <param name="result">The result.</param> protected UPSerialEntryInfoRow(UPSerialEntryInfoResult result) { }
/// <summary> /// Initializes a new instance of the <see cref="UPSerialEntryInfoRow"/> class. /// </summary> /// <param name="cells">The cells.</param> /// <param name="result">The result.</param> public UPSerialEntryInfoRow(List <string> cells, UPSerialEntryInfoResult result) { this.Cells = cells; }