public VaultProfileController(IComposerContext composerContext, IVaultProfileViewService vaultProfileViewService, IImageViewService imageViewService) { ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); VaultProfileViewService = vaultProfileViewService ?? throw new ArgumentNullException(nameof(vaultProfileViewService)); ImageViewService = imageViewService ?? throw new ArgumentNullException(nameof(imageViewService)); }
public PaymentController(IComposerContext composerContext, IPaymentViewService paymentViewService, IImageViewService imageService, IRecurringScheduleUrlProvider recurringScheduleUrlProvider, IRecurringCartUrlProvider recurringCartUrlProvider) { if (composerContext == null) { throw new ArgumentNullException("composerContext"); } if (imageService == null) { throw new ArgumentNullException("imageService"); } if (paymentViewService == null) { throw new ArgumentNullException(nameof(paymentViewService)); } if (recurringScheduleUrlProvider == null) { throw new ArgumentNullException("recurringScheduleUrlProvider"); } if (recurringCartUrlProvider == null) { throw new ArgumentNullException("recurringCartUrlProvider"); } ComposerContext = composerContext; PaymentViewService = paymentViewService; ImageService = imageService; RecurringScheduleUrlProvider = recurringScheduleUrlProvider; RecurringCartUrlProvider = recurringCartUrlProvider; }
public VaultProfileController(IComposerContext composerContext, IVaultProfileViewService vaultProfileViewService, IImageViewService imageViewService) { if (composerContext == null) { throw new ArgumentNullException("composerContext"); } if (vaultProfileViewService == null) { throw new ArgumentNullException("vaultProfileViewService"); } if (imageViewService == null) { throw new ArgumentNullException("imageViewService"); } ComposerContext = composerContext; VaultProfileViewService = vaultProfileViewService; ImageViewService = imageViewService; }
public PaymentController(IComposerContext composerContext, IPaymentViewService paymentViewService, IImageViewService imageService, IRecurringScheduleUrlProvider recurringScheduleUrlProvider, IRecurringCartUrlProvider recurringCartUrlProvider) { ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); PaymentViewService = paymentViewService ?? throw new ArgumentNullException(nameof(paymentViewService)); ImageService = imageService ?? throw new ArgumentNullException(nameof(imageService)); RecurringScheduleUrlProvider = recurringScheduleUrlProvider ?? throw new ArgumentNullException(nameof(recurringScheduleUrlProvider)); RecurringCartUrlProvider = recurringCartUrlProvider ?? throw new ArgumentNullException(nameof(recurringCartUrlProvider)); }