コード例 #1
0
 public MobSocialWebApiPlugin(MobSocialObjectContext context, mobSocialSettings mobSocialSettings,
                              ISettingService settingService, IMessageTemplateService messageTemplateService,
                              IScheduleTaskService scheduleTaskService,
                              IMobSocialService mobSocialService,
                              ILocalizationService localizationService,
                              IStoreContext storeContext,
                              IVideoBattleService videoBattleService, EmailAccountSettings emailAccountSettings)
 {
     _context                = context;
     _mobSocialSettings      = mobSocialSettings;
     _settingService         = settingService;
     _messageTemplateService = messageTemplateService;
     _scheduleTaskService    = scheduleTaskService;
     _mobSocialService       = mobSocialService;
     _localizationService    = localizationService;
     _videoBattleService     = videoBattleService;
     _emailAccountSettings   = emailAccountSettings;
     _storeContext           = storeContext;
     _config = new HttpRuntimeSection(); //TODO Move to dependency registrar and perform injection
 }