Default values not empty attributes
Brought to you by:
mikhail-webgear
If a property was recognized as, say, Int32, then it will fail on Parse if the value was an empty string at runtime.
Add an option to return a default value instead.
Sample config:
/defaults - will default Int/Decimal to 0, DateTime to DateTime.Min and Boolean to false.
/defaults:i:-1 - will default Int32 to -1, and the rest to defaults above.
/defaultsFromValues - read default values to return from config at the time of generation.