public FulfillmentClient( HttpMessageHandler httpMessageHandler, SecuredFulfillmentClientConfiguration options, IOperationsStore operationsStore, ILogger <FulfillmentClient> logger) : base(options, logger, httpMessageHandler) { this.operationsStore = operationsStore; }
public FulfillmentClient(IOptionsMonitor <SecuredFulfillmentClientConfiguration> optionsMonitor, IOperationsStore operationsStore, ILogger <FulfillmentClient> logger) : this(null, optionsMonitor.CurrentValue, operationsStore, logger) { }
public FulfillmentClient(SecuredFulfillmentClientConfiguration options, IOperationsStore operationsStore, ILogger <FulfillmentClient> logger) : this(null, options, operationsStore, logger) { }
public SubscriptionsController( IFulfillmentClient fulfillmentClient, IOperationsStore operationsStore, IOptionsMonitor <DashboardOptions> options) { this.fulfillmentClient = fulfillmentClient; this.operationsStore = operationsStore; this.options = options.CurrentValue; }
/// <summary> /// Initializes a new instance of the <see cref="SubscriptionsController"/> class. /// </summary> /// <param name="marketplaceClient">Marketplace API client.</param> /// <param name="operationsStore">Operations store.</param> /// <param name="options">Solution options.</param> public SubscriptionsController( IMarketplaceSaaSClient marketplaceClient, IOperationsStore operationsStore, IOptionsMonitor <CommandCenterOptions> options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } this.marketplaceClient = marketplaceClient; this.operationsStore = operationsStore; this.options = options.CurrentValue; }