Created
May 2, 2014 18:56
-
-
Save btompkins/b1e5dc52a7ec0939dbee 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
namespace PSI.Common.Appointments | |
{ | |
public enum AppointmentState | |
{ | |
[Description("Appointment #{0} Scheduled for {1} Confirmed and On Time")] | |
Confirmed = 0, | |
[Description("Appointment #{0} Scheduled for {1} Confirmed within Grace Peroid")] | |
ConfirmedWithinGracePeriod = 1, | |
[Description("Appointment #{0} Scheduled for {1} Confirmed Late")] | |
Late = 2, | |
[Description("Appointment #{0} Scheduled for {1} Confirmed Early")] | |
Early = 3, | |
[Description("Appointment #{0} Scheduled for {1} Not for Today")] | |
NotToday = 4, | |
[Description("Appointment #{0} Not Found {1}")] | |
NotFound = 5, | |
[Description("Unknown {0}{1}")] Default = 6, | |
} | |
public static class EnumUtils | |
{ | |
public static string SpaceEnum(this AppointmentState state) | |
{ | |
string returnString = state.ToString(); | |
return returnString; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment