Created
September 5, 2011 19:07
-
-
Save mikesouza/1195689 to your computer and use it in GitHub Desktop.
The Redundant Method
This file contains hidden or 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
/// <summary> | |
/// Returns an array of the names in the specified enumeration. | |
/// </summary> | |
/// <param name="pEnumerationType">The enumeration to retrieve the names | |
/// from.</param> | |
/// <returns>Returns an array of the names in the enumeration.</returns> | |
private static string[] GetNames(Type pEnumerationType) | |
{ | |
// TODO: Move this function to the EnumUtil class in the | |
// Managers.Utilities project and make it public. | |
return Enum.GetNames(pEnumerationType); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment