예제 #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, IEnumerable <string> values, bool readOnly)
     : base(values, readOnly)
 {
     this.headerRecord = headerRecord;
 }
예제 #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)
 {
     this.headerRecord = headerRecord;
 }
예제 #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, IEnumerable <string> values)
     : this(headerRecord, values, false)
 {
 }