Example #1
0
 /// <summary>
 /// Gets a value that indicates whether the specified <see cref="DsvColumn"/> contains the null value.
 /// </summary>
 /// <param name="column">An instance of a <see cref="DsvColumn"/>.</param>
 /// <returns><b>True</b> If the column contains a null value; otherwise <b>false</b>.</returns>
 public bool IsNull(DsvColumn column)
 {
     if (column == null)
     {
         throw new ArgumentNullException("column", "Parameter column cannot be null.");
     }
     return(this[column.ColumnName] == null);
 }
Example #2
0
 /// <summary>
 /// Gets or sets the data stored in the specified <see cref="DsvColumn"/>.
 /// </summary>
 /// <param name="column">An instance of a <see cref="DsvColumn"/>.</param>
 /// <returns>An object that contains the data for this column.</returns>
 public object this[DsvColumn column]
 {
     get
     {
         if (column == null)
         {
             throw new ArgumentNullException("column", "Parameter column cannot be null.");
         }
         return(this[column.ColumnName]);
     }
 }