+10
−2
+2
−2
Loading
Enumerations need to have a name so the enumerated type can be defined. Add the name as a property of type, so generators can get it easily. Also update the various users of the type to pass the name in the constructor.