public DashboardEMailHelper( IOptionsMonitor <DashboardOptions> optionsMonitor, IFulfillmentClient fulfillmentClient) { this.fulfillmentClient = fulfillmentClient; this.options = optionsMonitor.CurrentValue; }
public FulfillmentManager( IFulfillmentClient fulfillmentClient, ILogger <FulfillmentManager> logger) { this.fulfillmentClient = fulfillmentClient; this.logger = logger; }
public WebhookProcessor(IOptionsMonitor <SecuredFulfillmentClientConfiguration> options, IFulfillmentClient fulfillmentClient, IWebhookHandler webhookHandler, ILogger <WebhookProcessor> logger) : this(options.CurrentValue, fulfillmentClient, webhookHandler, logger) { }
public SubscriptionsController( IFulfillmentClient fulfillmentClient, IOperationsStore operationsStore, IOptionsMonitor <DashboardOptions> options) { this.fulfillmentClient = fulfillmentClient; this.operationsStore = operationsStore; this.options = options.CurrentValue; }
public WebhookProcessor( IFulfillmentClient fulfillmentClient, ILogger <WebhookProcessor> logger, ISubscriptionService subscriptionService) { this.fulfillmentClient = fulfillmentClient ?? throw new ArgumentNullException(nameof(fulfillmentClient)); this._logger = logger ?? throw new ArgumentNullException(nameof(logger)); this._subscriptionService = subscriptionService ?? throw new ArgumentNullException(nameof(subscriptionService)); }
public FulfillmentHandler( IFulfillmentClient fulfillmentClient, IMarketplaceNotificationHandler notificationHandler, IOptionsMonitor <DashboardOptions> optionsMonitor, ILogger <FulfillmentHandler> logger) { this.options = optionsMonitor.CurrentValue; this.fulfillmentClient = fulfillmentClient; this.notificationHandler = notificationHandler; this.logger = logger; }
public LandingPageController( IOptionsMonitor <DashboardOptions> dashboardOptions, IFulfillmentClient fulfillmentClient, IMarketplaceNotificationHandler notificationHandler, ILogger <LandingPageController> logger) { this.fulfillmentClient = fulfillmentClient; this.notificationHandler = notificationHandler; this.logger = logger; this.options = dashboardOptions.CurrentValue; }
public WebhookProcessor( SecuredFulfillmentClientConfiguration options, IFulfillmentClient fulfillmentClient, IWebhookHandler webhookHandler, ILogger <WebhookProcessor> logger) { this.options = options; this.fulfillmentClient = fulfillmentClient; this.logger = logger; this.webhookHandler = webhookHandler; }
public ProvisioningService(ISqlDbContext sqlDbContext, IProvisioningClient provisioningClient, IFulfillmentClient fulfillmentclient, IIpAddressService ipAddressService, ISubscriptionParameterService subscriptionParameterService, IArmTemplateParameterService armTemplateParameterService, IWebhookParameterService webhookParameterService, IStorageUtility storageUtility, ILogger <ProvisioningService> logger) { _context = sqlDbContext ?? throw new ArgumentNullException(nameof(sqlDbContext)); _provisioningClient = provisioningClient ?? throw new ArgumentNullException(nameof(provisioningClient)); _fulfillmentClient = fulfillmentclient ?? throw new ArgumentNullException(nameof(fulfillmentclient)); _ipAddressService = ipAddressService ?? throw new ArgumentNullException(nameof(ipAddressService)); _subscriptionParameterService = subscriptionParameterService ?? throw new ArgumentNullException(nameof(subscriptionParameterService)); _armTemplateParameterService = armTemplateParameterService ?? throw new ArgumentNullException(nameof(armTemplateParameterService)); _webhookParameterService = webhookParameterService ?? throw new ArgumentNullException(nameof(webhookParameterService)); _storageUtility = storageUtility ?? throw new ArgumentNullException(nameof(storageUtility)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); //TODO: add the app settings. _maxRetry = 3; }
public ContosoWebhookHandler(ISubscriptionManager subscriptionManager, ILogger <ContosoWebhookHandler> logger, IFulfillmentClient fulfillmentClient) { this.subscriptionManager = subscriptionManager; this.logger = logger; this.fulfillmentClient = fulfillmentClient; }
public MailLinkController(IFulfillmentClient fulfillmentClient) { this.fulfillmentClient = fulfillmentClient; }
public FulfillmentManager(IFulfillmentClient fulfillmentClient, ILogger <FulfillmentManager> logger) { _fulfillmentClient = fulfillmentClient ?? throw new ArgumentNullException(nameof(fulfillmentClient)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }