Skip to content

Instantly share code, notes, and snippets.

@btompkins
Created May 2, 2014 18:56
Show Gist options
  • Save btompkins/b1e5dc52a7ec0939dbee to your computer and use it in GitHub Desktop.
Save btompkins/b1e5dc52a7ec0939dbee to your computer and use it in GitHub Desktop.
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