public override IFormat Clone() { CsvFormat other = new CsvFormat(Name, Separator, Columns.ToArray()); other.SkipRows = SkipRows.ToArray(); other.SkipColumns = SkipColumns.ToArray(); return(other); }
public override IFormat Clone() { PathTableFormat other = new PathTableFormat(Name, Path, Columns.ToArray()); other.SkipRows = SkipRows.ToArray(); other.SkipColumns = SkipColumns.ToArray(); return(other); }
/// <summary> /// Creates a deep copy of the given object. /// </summary> protected void CloneTo(AbstractSeriesFormat other) { other.Expand = Expand; other.SeriesNamePosition = SeriesNamePosition; other.TimeAxisPosition = TimeAxisPosition; if (SkipRows != null) { other.SkipRows = SkipRows.ToArray(); } if (SkipColumns != null) { other.SkipColumns = SkipColumns.ToArray(); } if (ValueFormat != null) { other.ValueFormat = new FormatColumn(ValueFormat); } if (TimeAxisFormat != null) { other.TimeAxisFormat = new FormatColumn(TimeAxisFormat); } }