private void CopyMembers(FormattedDataFileBase old)
 {
     this.encoding      = (Encoding)old.encoding.Clone();
     this.culture       = (CultureInfo)old.culture.Clone();
     this.numberStyle   = old.numberStyle;
     this.dateTimeStyle = old.dateTimeStyle;
 }
Exemple #2
0
 public FormattedDataFileBlockBase(FormattedDataFileBase file)
     : base(file)
 {
     InitializeMembers();
 }
 protected FormattedDataFileBase(FormattedDataFileBase old)
     : base(old)
 {
     CopyMembers(old);
 }