Currently, enumerations use an internal container to store the relations
between every enum value and its string representation. Since containers are
available in Tools, enumerations in Common cannot have this feature.
Furthermore, it would be faster to search for a key in a linear way, using an
array, since they will be always very short.
It will be necessary to create a method with a switch statement inside of it to
get every string from every value; another solution, unnecessarily complex
would be to register the types in an external dictionary for all enumerations.
Original issue reported on code.google.com by Lince3D@gmail.com on 19 Dec 2014 at 4:15
Original issue reported on code.google.com by
Lince3D@gmail.com
on 19 Dec 2014 at 4:15