/// <summary> /// Initializes a new instance of the <see cref="MailchimpConnectorDataMappingExtender"/> class. /// </summary> /// <param name="mailchimpFormsProvider">The <see cref="IMailchimpListProvider"/> instance that will be used in the class.</param> /// <param name="mailchimpConnectorConfig">The <see cref="MailchimpConnectorConfig"/> instance that will be used in the class.</param> internal MailchimpConnectorDataMappingExtender(IMailchimpListProvider mailchimpListProvider, MailchimpConnectorConfig mailchimpConnectorConfig) { this.mailchimpListProvider = mailchimpListProvider; this.mailchimpConnectorConfig = mailchimpConnectorConfig; }
/// <summary> /// Initializes a new instance of the <see cref="MailchimpListCache"/> class. /// </summary> /// <param name="mailchimpListProvider">The <see cref="IMailchimpListProvider"/> implementation that will be used to get non-cached data.</param> internal MailchimpListCache(IMailchimpListProvider mailchimpListProvider, ICacheManager cacheManager) { this.mailchimpListProvider = mailchimpListProvider; this.cachedLists = new SynchronizedCache <IEnumerable <MailchimpList> >(cacheManager); this.cachedMergeFields = new SynchronizedCache <IEnumerable <MailchimpListMergeField> >(cacheManager); }