FluiTec / FluiTec.DatevSharp

DATEV-Library in C#
Other
14 stars 5 forks source link

Add [StringValue(null)] Undefined for not necessary Enums having StringValues #11

Closed IInvocation closed 1 year ago

IInvocation commented 1 year ago

Added a simple tool to find Enums that are: a) not necessary according to the format specification b) have StringValues applied

Rule b) is applied since the C#'s default value for any enum should be 0. And as datev treats every 0 as an empty value - the result should be the same.

Thus added [StringValue(null)] Undefined to the following enums:

IInvocation commented 1 year ago

Should solve #10