Casting object to enum class
So I have:
And I wanna case my object to that class:
There is a reflector to determine what variable type it is but it kinda does this on runtime/compile.
I wanna know if there is a way to cast this without wrapping it
And I wanna case my object to that class:
There is a reflector to determine what variable type it is but it kinda does this on runtime/compile.
I wanna know if there is a way to cast this without wrapping it