Ejemplo n.º 1
0
 public MailChimpManager(string apiKey) : base(apiKey)
 {
     Api                   = new ApiLogic(ApiKey);
     Apps                  = new AuthorizedAppLogic(ApiKey);
     AutomationEmails      = new AutomationEmailLogic(ApiKey);
     AutomationEmailQueues = new AutomationEmailQueueLogic(ApiKey);
     Automations           = new AutomationLogic(ApiKey);
     AutomationSubscribers = new AutomationSubscriberLogic(ApiKey);
     Campaigns             = new CampaignLogic(ApiKey);
     Content               = new ContentLogic(ApiKey);
     Conversations         = new ConversationLogic(ApiKey);
     Feedback              = new FeedBackLogic(ApiKey);
     Lists                 = new ListLogic(ApiKey);
     Members               = new MemberLogic(ApiKey);
     Messages              = new MessageLogic(ApiKey);
     Reports               = new ReportLogic(ApiKey);
     TemplateFolders       = new TemplateFolderLogic(ApiKey);
     Templates             = new TemplateLogic(ApiKey);
 }
Ejemplo n.º 2
0
        public MailChimpManager(IOptions <MailchimpOptions> optionsAccessor) : base(optionsAccessor)
        {
            var options = optionsAccessor.Value;

            Activities            = new ActivityLogic(options);
            AbuseReports          = new AbuseReportLogic(options);
            Api                   = new ApiLogic(options);
            Apps                  = new AuthorizedAppLogic(options);
            AutomationEmails      = new AutomationEmailLogic(options);
            AutomationEmailQueues = new AutomationEmailQueueLogic(options);
            Automations           = new AutomationLogic(options);
            AutomationSubscribers = new AutomationSubscriberLogic(options);
            Batches               = new BatchLogic(options);
            Campaigns             = new CampaignLogic(options);
            CampaignFolders       = new CampaignFolderLogic(options);
            Clients               = new ClientLogic(options);
            Content               = new ContentLogic(options);
            Conversations         = new ConversationLogic(options);
            ECommerceStores       = new ECommerceLogic(options);
            Feedback              = new FeedBackLogic(options);
            FileManagerFiles      = new FileManagerFileLogic(options);
            FileManagerFolders    = new FileManagerFolderLogic(options);
            GrowthHistories       = new GrowthHistoryLogic(options);
            InterestCategories    = new InterestCategoryLogic(options);
            Interests             = new InterestLogic(options);
            Lists                 = new ListLogic(options);
            ListSegments          = new ListSegmentLogic(options);
            Members               = new MemberLogic(options);
            MergeFields           = new MergeFieldLogic(options);
            Messages              = new MessageLogic(options);
            Notes                 = new NoteLogic(options);
            Reports               = new ReportLogic(options);
            TemplateFolders       = new TemplateFolderLogic(options);
            Templates             = new TemplateLogic(options);
            WebHooks              = new WebHookLogic(options);
        }