stuarta0 / banking-au

Australian Banking File Formats Library
MIT License
14 stars 3 forks source link

DetailRecord class Indicator FieldNullValue required #4

Open phatbear opened 5 years ago

phatbear commented 5 years ago

An exception is thrown when reading a file with DetailRecords containing blank Indicators. This is resolved by adding FieldNullValue as per below

[FieldFixedLength(1)] [FieldConverter(typeof(EnumConverter), typeof(Indicator))] [FieldNullValue(typeof(Indicator), "0")] public Indicator Indicator;