how to set enum type based on what child class is used - C#