示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 /// <param name="columnName">The name of the <see cref="DsvColumn"/>.</param>
 /// <param name="enclosed">Determines whether the <see cref="DsvColumn"/> is enclosed or not. <b>True</b> to enclose the <see cref="DsvColumn"/>; <b>False</b> to not enclose it.</param>
 /// <remarks>Unique column names are not enforced. However, best practice would dictate that column names be unique.</remarks>
 public DsvColumn(DsvTable parent,
                  string columnName,
                  bool enclosed)
     : this(parent, columnName)
 {
     Enclosed = enclosed;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 /// <param name="columnName">The name of the <see cref="DsvColumn"/>.</param>
 /// <param name="enclosed">Determines whether the <see cref="DsvColumn"/> is enclosed or not. <b>True</b> to enclose the <see cref="DsvColumn"/>; <b>False</b> to not enclose it.</param>
 /// <param name="formatString">When writing values, the format string that specifies the format of the corresponding <see cref="Type"/>.</param>
 /// <remarks>Unique column names are not enforced. However, best practice would dictate that column names be unique.</remarks>
 public DsvColumn(DsvTable parent,
                  string columnName,
                  bool enclosed,
                  string formatString)
     : this(parent, columnName, enclosed)
 {
     FormatString = formatString;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 /// <param name="columnName">The name of the <see cref="DsvColumn"/>.</param>
 /// <param name="enclosed">Determines whether the <see cref="DsvColumn"/> is enclosed or not. <b>True</b> to enclose the <see cref="DsvColumn"/>; <b>False</b> to not enclose it.</param>
 /// <param name="formatString">When writing values, the format string that specifies the format of the corresponding <see cref="Type"/>.</param>
 /// <param name="defaultValue">When writing values, if the given object is null, or <b>Nothing</b> in VB.NET, this will be the value of the object.</param>
 /// <remarks>Unique column names are not enforced. However, best practice would dictate that column names be unique.</remarks>
 public DsvColumn(DsvTable parent,
                  string columnName,
                  bool enclosed,
                  string formatString,
                  object defaultValue)
     : this(parent, columnName, enclosed, formatString)
 {
     DefaultValue = defaultValue;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 /// <param name="columnName">The name of the <see cref="DsvColumn"/>.</param>
 /// <param name="enclosed">Determines whether the <see cref="DsvColumn"/> is enclosed or not. <b>True</b> to enclose the <see cref="DsvColumn"/>; <b>False</b> to not enclose it.</param>
 /// <param name="formatString">When writing values, the format string that specifies the format of the corresponding <see cref="Type"/>.</param>
 /// <param name="defaultValue">When writing values, if the given object is null, or <b>Nothing</b> in VB.NET, this will be the value of the object.</param>
 /// <param name="assumedType">The <see cref="Type"/> of object assumed to be in this <see cref="DsvColumn"/>.</param>
 /// <remarks>Unique column names are not enforced. However, best practice would dictate that column names be unique.</remarks>
 public DsvColumn(DsvTable parent,
                  string columnName,
                  bool enclosed,
                  string formatString,
                  object defaultValue,
                  Type assumedType)
     : this(parent, columnName, enclosed, formatString, defaultValue)
 {
     AssumedType = assumedType;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumnCollection"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> to which this instance belongs.</param>
 internal DsvColumnCollection(DsvTable parent)
     : this()
 {
     _Parent = parent;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 /// <param name="columnName">The name of the <see cref="DsvColumn"/>.</param>
 /// <remarks>Unique column names are not enforced. However, best practice would dictate that column names be unique.</remarks>
 public DsvColumn(DsvTable parent,
                  string columnName)
     : this(parent)
 {
     ColumnName = columnName;
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvColumn"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> which this instance belongs.</param>
 public DsvColumn(DsvTable parent)
     : this()
 {
     Parent = parent;
 }
示例#8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DsvRow"/> class.
 /// </summary>
 /// <param name="parent">The <see cref="DsvTable"/> to which this instance belongs.</param>
 internal DsvRow(DsvTable parent)
     : this()
 {
     Parent = parent;
 }