Here are the examples of the csharp api System.Enum.GetValues() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : Enum.cs
with MIT License
from zios
with MIT License
from zios
public static int GetMaskFull(this Enum current){
return current.GetValues().Cast<int>().Sum();
}