示例#1
0
 public CheckinPaxDomainService(IStoreInSessionStrategy sessionStorage,
                                IDistributedCacheStrategy distributedCache)
 {
     this._sessionStorage   = sessionStorage;
     this._distributedCache = distributedCache;
     this._random           = new Random();
 }
示例#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();
 }
示例#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
     };
 }
示例#6
0
 public SaveBookingDomainService(IDistributedCacheStrategy distributedCache,
                                 IStoreInSessionStrategy sessionStorage)
 {
     this._distributedCache = distributedCache;
     this._sessionStorage   = sessionStorage;
 }
示例#7
0
 public RetrieveBookingPricingDomainService(IStoreInSessionStrategy sessionStorage)
 {
     _sessionStorage = sessionStorage;
 }
示例#8
0
 public JourneysPricingRetrieverDomainService(IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
     this.random         = new Random();
 }
 public EticketsGeneratorDomainService(
     IStoreInSessionStrategy sessionStorage)
 {
     this.sessionStorage = sessionStorage;
 }