Add uniform example for enums.
Merge pull request #1932 from AndrejMitrovic/UniformDocs

Add uniform example for enums.