/********************************************************************************************************** * CONSTRUCTORS **********************************************************************************************************/ public HubSpotProvider([NotNull] ApplicationContext appContext, IHubSpotClientFactory hubspotClientFactory, ILogger log, ISystemNotifications notifications) : base(appContext, HubSpotConstants.CreateProviderMetadata()) { _hubspotClientFactory = hubspotClientFactory ?? throw new ArgumentNullException(nameof(hubspotClientFactory)); _log = log ?? throw new ArgumentNullException(nameof(log)); _notifications = notifications; }
/********************************************************************************************************** * CONSTRUCTORS **********************************************************************************************************/ public HubSpotProvider([NotNull] ApplicationContext appContext, IHubSpotClientFactory hubspotClientFactory) : base(appContext, HubSpotConstants.CreateProviderMetadata()) { _hubspotClientFactory = hubspotClientFactory; }