/// <summary>
 /// Initializes a new instance of the <see cref="SubscriptionsFacade" /> class.
 /// </summary>
 /// <param name="data">The subscription data service.</param>
 /// <param name="subscriptionProvider">The subscription provider.</param>
 /// <param name="cardProvider">The card provider.</param>
 /// <param name="cardDataService">The card data service.</param>
 /// <param name="customerProvider">The customer provider.</param>
 /// <param name="subscriptionPlanDataService">The subscription plan data service.</param>
 /// <param name="chargeProvider">The charge provider.</param>
 public SubscriptionsFacade(
     ISubscriptionDataService data,
     ISubscriptionProvider subscriptionProvider,
     ICardProvider cardProvider,
     ICardDataService cardDataService,
     ICustomerProvider customerProvider,
     ISubscriptionPlanDataService subscriptionPlanDataService,
     IChargeProvider chargeProvider)
 {
     _subscriptionDataService     = data;
     _subscriptionProvider        = subscriptionProvider;
     _cardProvider                = cardProvider;
     _customerProvider            = customerProvider;
     _subscriptionPlanDataService = subscriptionPlanDataService;
     _chargeProvider              = chargeProvider;
     _cardDataService             = cardDataService;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubscriptionsFacade" /> class.
 /// </summary>
 /// <param name="data">The subscription data service.</param>
 /// <param name="subscriptionProvider">The subscription provider.</param>
 /// <param name="cardProvider">The card provider.</param>
 /// <param name="cardDataService">The card data service.</param>
 /// <param name="customerProvider">The customer provider.</param>
 /// <param name="subscriptionPlanDataService">The subscription plan data service.</param>
 /// <param name="chargeProvider">The charge provider.</param>
 public SubscriptionsFacade(
     ISubscriptionDataService data,
     ISubscriptionProvider subscriptionProvider,
     ICardProvider cardProvider,
     ICardDataService cardDataService,
     ICustomerProvider customerProvider,
     ISubscriptionPlanDataService subscriptionPlanDataService,
     IChargeProvider chargeProvider)
 {
     _subscriptionDataService = data;
     _subscriptionProvider = subscriptionProvider;
     _cardProvider = cardProvider;
     _customerProvider = customerProvider;
     _subscriptionPlanDataService = subscriptionPlanDataService;
     _chargeProvider = chargeProvider;
     _cardDataService = cardDataService;
 }