Created
May 30, 2012 20:11
-
-
Save cbcwebdev/2838634 to your computer and use it in GitHub Desktop.
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
public class Directory | |
{ | |
// ... fields omitted for brevity | |
public DirectoryType Type { get; private set; } | |
} |
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
// use attributes to add metadata to any given enum value | |
public enum DirectoryType | |
{ | |
Country = 1, | |
State = 2, | |
MajorMetroArea = 3, | |
Region = 4, | |
County = 5, | |
City = 6, | |
Simple = 7 // no longer used in the system | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment