using System; namespace Disco.Models.Services.Devices.Exporting { public class DeviceExportFieldMetadata { public string Name { get; set; } public string ColumnName { get; set; } public Type ValueType { get; set; } public Func Accessor { get; set; } public Func CsvEncoder { get; set; } public DeviceExportFieldMetadata(string Name, Type ValueType, Func Accessor, Func CsvEncoder) { this.Name = Name; this.ValueType = ValueType; this.Accessor = Accessor; this.CsvEncoder = CsvEncoder; } } }