SharpConfig icon indicating copy to clipboard operation
SharpConfig copied to clipboard

Parsing a flag'd enum value using ToObject<Class>();

Open dazusu opened this issue 3 years ago • 0 comments

I don't believe ToObject<>() works with TypeStringConverters, and as such - when trying to parse a flag enum value, I'm getting an error.

My flag is stored in the config file as:

Name="Flag1, Flag2, Flag3"

Any workarounds on this?

Using latest version.

dazusu avatar Aug 21 '22 15:08 dazusu