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