Created
March 14, 2012 20:09
-
-
Save JonCanning/2039149 to your computer and use it in GitHub Desktop.
ToVerbsString
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static string ToVerbsString(ApplyTo verbs) | |
{ | |
return string.Join(" ", Enum.GetValues(typeof(ApplyTo)).Cast<ApplyTo>().Where(x => x != ApplyTo.All && x != ApplyTo.None && verbs.Has(x)).Select(x => x.ToString().ToUpper())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment