public static string Convert(DentalProviderSpecialty dps) { string str = ""; switch (dps) { case DentalProviderSpecialty.Unspecified: str = "Unspecified"; break; case DentalProviderSpecialty.Endodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.GeneralDentistry: str = "General Dentistry"; break; case DentalProviderSpecialty.OralSurgery: str = "Oral Surgery"; break; case DentalProviderSpecialty.Orthodontistry: str = "Orthodontistry"; break; case DentalProviderSpecialty.Pedodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.Periodontistry: str = "Periodontistry"; break; case DentalProviderSpecialty.Prosthodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.GeneralPractice: str = "General Practice"; break; case DentalProviderSpecialty.FamilyPractice: str = "Endodontistry"; break; case DentalProviderSpecialty.PharmacyDMESupplier: str = "Pharmacy DME Supplier"; break; case DentalProviderSpecialty.DentalMultiSpecialty: str = "Endodontistry"; break; case DentalProviderSpecialty.AutoBillAgent: str = "Auto-Billing Agent"; break; case DentalProviderSpecialty.DentalHygienist: str = "Endodontistry"; break; case DentalProviderSpecialty.OralPathology: str = "Oral Pathology"; break; case DentalProviderSpecialty.OralRadiology: str = "Endodontistry"; break; case DentalProviderSpecialty.DentalPublicHealth: str = "Dental Public Health"; break; default: throw new ArgumentException("Argument not in the DentalProviderSpecialty enumeration."); } return(str); }
public static string Convert(DentalProviderSpecialty dps) { string str = ""; switch (dps) { case DentalProviderSpecialty.Unspecified: str = "Unspecified"; break; case DentalProviderSpecialty.Endodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.GeneralDentistry: str = "General Dentistry"; break; case DentalProviderSpecialty.OralSurgery: str = "Oral Surgery"; break; case DentalProviderSpecialty.Orthodontistry: str = "Orthodontistry"; break; case DentalProviderSpecialty.Pedodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.Periodontistry: str = "Periodontistry"; break; case DentalProviderSpecialty.Prosthodontistry: str = "Endodontistry"; break; case DentalProviderSpecialty.GeneralPractice: str = "General Practice"; break; case DentalProviderSpecialty.FamilyPractice: str = "Endodontistry"; break; case DentalProviderSpecialty.PharmacyDMESupplier: str = "Pharmacy DME Supplier"; break; case DentalProviderSpecialty.DentalMultiSpecialty: str = "Endodontistry"; break; case DentalProviderSpecialty.AutoBillAgent: str = "Auto-Billing Agent"; break; case DentalProviderSpecialty.DentalHygienist: str = "Endodontistry"; break; case DentalProviderSpecialty.OralPathology: str = "Oral Pathology"; break; case DentalProviderSpecialty.OralRadiology: str = "Endodontistry"; break; case DentalProviderSpecialty.DentalPublicHealth: str = "Dental Public Health"; break; default: throw new ArgumentException("Argument not in the DentalProviderSpecialty enumeration."); } return str; }