private string Serialize() { var result = ""; foreach (var(prop, attr) in GetGetProperties()) { result += CsvCell.Serialize(prop.GetValue(Obj), _options) + CsvOptions.DELIMITER; } return(Finalize(result)); }
private string SerializeHeader() { var result = ""; foreach (var(prop, attr) in GetGetProperties()) { result += CsvCell.Serialize(attr.HeaderName ?? prop.Name, _options) + CsvOptions.DELIMITER; } return(Finalize(result)); }