Ejemplo n.º 1
0
 public CheckinPaxDomainService(IStoreInSessionStrategy sessionStorage,
                                IDistributedCacheStrategy distributedCache)
 {
     this._sessionStorage   = sessionStorage;
     this._distributedCache = distributedCache;
     this._random           = new Random();
 }
Ejemplo n.º 2
0
 public SeatsPricingRetrieverDomainService(IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
     this.random         = new Random();
     SupportedTypes      = new List <ServiceType>
     {
         ServiceType.Seat
     };
 }
 public AddCreditCardPaymentDomainService(IStoreInSessionStrategy sessionStorage)
 {
     _sessionStorage  = sessionStorage;
     SupportedMethods = new List <string> {
         "VI", "MC"
     };
     SupportedType = PaymentType.CreditCard;
     _random       = new Random();
 }
Ejemplo n.º 4
0
 public RetrieveSeatMapDomainService(
     IDistributedCacheStrategy distributedCache,
     IStoreInSessionStrategy sessionStorage,
     ConfigTransports transportsConfiguration)
 {
     this._distributedCache = distributedCache;
     this._sessionStorage   = sessionStorage;
     this._configTransports = transportsConfiguration;
 }
 public ServicePricingRetrieverDomainService(IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
     this.random         = new Random();
     SupportedTypes      = new List <ServiceType>
     {
         ServiceType.Baggage, ServiceType.Meal, ServiceType.Insurance, ServiceType.DutyFree,
         ServiceType.SpecialAssistance, ServiceType.Priority, ServiceType.Bundle
     };
 }
Ejemplo n.º 6
0
 public SaveBookingDomainService(IDistributedCacheStrategy distributedCache,
                                 IStoreInSessionStrategy sessionStorage)
 {
     this._distributedCache = distributedCache;
     this._sessionStorage   = sessionStorage;
 }
Ejemplo n.º 7
0
 public RetrieveBookingPricingDomainService(IStoreInSessionStrategy sessionStorage)
 {
     _sessionStorage = sessionStorage;
 }
Ejemplo n.º 8
0
 public JourneysPricingRetrieverDomainService(IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
     this.random         = new Random();
 }
 public EticketsGeneratorDomainService(
     IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
 }