Added sour generator for all kinds of structs
This commit is contained in:
7 files changed
+173
No files matched your search
@@ -9,4 +9,8 @@
|
||||
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CSV Metrics Logger Generator\CSV Metrics Logger Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
namespace CSV_Metrics_Logger;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Struct)]
|
||||
public sealed class CSVRecordAttribute : Attribute;
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace CSV_Metrics_Logger;
|
||||
|
||||
public interface IConvertToCSV
|
||||
{
|
||||
public uint GetCSVColumnCount();
|
||||
|
||||
public IList<string> GetCSVHeaders();
|
||||
|
||||
public IList<string> ConvertToCSVDataLine();
|
||||
}
|
||||
Reference in new issue
Block a user