Exemplo n.º 1
0
 public Column(string name, DataType dataType = DataType.String)
 {
     m_Name             = name;
     ValueFormatMutable = new ValueFormatMutable()
     {
         DataType = dataType
     };
 }
Exemplo n.º 2
0
 public Column(string name, string dateFormat, string dateSeparator = ValueFormatExtension.cDateSeparatorDefault)
 {
     m_Name             = name;
     ValueFormatMutable =
         new ValueFormatMutable()
     {
         DataType = DataType.DateTime, DateFormat = dateFormat, DateSeparator = dateSeparator
     };
 }
Exemplo n.º 3
0
 public Column(IColumn source, IValueFormat format)
 {
     m_ColumnOrdinal    = source.ColumnOrdinal;
     m_Convert          = source.Convert;
     m_DestinationName  = source.DestinationName;
     m_Ignore           = source.Ignore;
     m_Name             = source.Name;
     m_Part             = source.Part;
     m_PartSplitter     = source.PartSplitter;
     m_PartToEnd        = source.PartToEnd;
     m_TimePart         = source.TimePart;
     m_TimePartFormat   = source.TimePartFormat;
     m_TimeZonePart     = source.TimeZonePart;
     ValueFormatMutable = new ValueFormatMutable(format);
 }
Exemplo n.º 4
0
 public Column(string name, IValueFormat valueFormat)
 {
     m_Name             = name;
     ValueFormatMutable = new ValueFormatMutable(valueFormat);
 }