namespace CSV_Metrics_Logger; /// /// Interface for converting a struct to a CSV record. This interface is used /// by the source generator to augment the struct with the necessary methods. /// Hence, you DO NOT need to implement this interface yourself. /// public interface IConvertToCSV { /// /// Returns the number of columns in the CSV record. /// /// The number of columns in the CSV record. public uint GetCSVColumnCount(); /// /// Returns the headers of the CSV record. /// /// The headers of the CSV record. public IList GetCSVHeaders(); /// /// Returns the data line of the CSV record. /// /// The data line of the CSV record. public IList ConvertToCSVDataLine(); }