Exemple #1
0
 public static bool IsDive(this PrimaryServiceType serviceType)
 {
     return(serviceType == PrimaryServiceType.Dive);
 }
Exemple #2
0
 public static bool IsPhoneConsultation(this PrimaryServiceType serviceType)
 {
     return(serviceType == PrimaryServiceType.PhoneConsultation);
 }
Exemple #3
0
 public static ISpecification <PrimaryService> ByType(PrimaryServiceType type)
 {
     return(new PrimaryServiceSpecification()
            .Where(service => service.Type == type));
 }
Exemple #4
0
 public static bool IsOrientation(this PrimaryServiceType serviceType)
 {
     return(serviceType == PrimaryServiceType.Orientation);
 }
Exemple #5
0
 public PrimaryService(PrimaryServiceType type, decimal price)
 {
     Type  = type;
     Price = price;
 }