You can make the parameter type enum and they get free validation. Something like this:
```
public ComputeEmulatorMode Mode { get; set; }
```
Then no need for this
```
[ValidateSet(new string[] { ExpressMode, FullMode }, IgnoreCase = true)]
```