Beispiel #1
0
 /// <summary>
 /// Constructs an instance of <c>DataRecord</c> with the header and values specified, optionally making the values in this data record
 /// read-only.
 /// </summary>
 /// <param name="headerRecord">
 /// The header record for this CSV record, or <see langword="null"/> if no header record applies.
 /// </param>
 /// <param name="values">
 /// The values for this CSV record.
 /// </param>
 /// <param name="readOnly">
 /// If <see langword="true"/>, the values in this data record are read-only.
 /// </param>
 public DataRecord(HeaderRecord headerRecord, string[] values, bool readOnly)
     : base(values, readOnly)
 {
     _headerRecord = headerRecord;
 }
Beispiel #2
0
 /// <summary>
 /// Constructs an instance of <c>DataRecord</c> with the header specified.
 /// </summary>
 /// <param name="headerRecord">
 /// The header record for this CSV record, or <see langword="null"/> if no header record applies.
 /// </param>
 public DataRecord(HeaderRecord headerRecord)
 {
     _headerRecord = headerRecord;
 }
Beispiel #3
0
 /// <summary>
 /// Constructs an instance of <c>DataRecord</c> with the header and values specified.
 /// </summary>
 /// <param name="headerRecord">
 /// The header record for this CSV record, or <see langword="null"/> if no header record applies.
 /// </param>
 /// <param name="values">
 /// The values for this CSV record.
 /// </param>
 public DataRecord(HeaderRecord headerRecord, string[] values)
     : this(headerRecord, values, false)
 {
 }