コード例 #1
0
        public StudioNotifyHelper(
            StudioNotifySource studioNotifySource,
            UserManager userManager,
            SettingsManager settingsManager,
            AdditionalWhiteLabelSettingsHelper additionalWhiteLabelSettingsHelper,
            CommonLinkUtility commonLinkUtility,
            SetupInfo setupInfo,
            TenantManager tenantManager,
            TenantExtra tenantExtra,
            CoreBaseSettings coreBaseSettings,
            WebImageSupplier webImageSupplier,
            IConfiguration configuration,
            IOptionsMonitor <ILog> option)
        {
            Helplink             = commonLinkUtility.GetHelpLink(settingsManager, additionalWhiteLabelSettingsHelper, false);
            NotifySource         = studioNotifySource;
            UserManager          = userManager;
            SettingsManager      = settingsManager;
            CommonLinkUtility    = commonLinkUtility;
            SetupInfo            = setupInfo;
            TenantManager        = tenantManager;
            TenantExtra          = tenantExtra;
            CoreBaseSettings     = coreBaseSettings;
            WebImageSupplier     = webImageSupplier;
            SubscriptionProvider = NotifySource.GetSubscriptionProvider();
            RecipientsProvider   = NotifySource.GetRecipientsProvider();
            Log = option.CurrentValue;

            int.TryParse(configuration["core:notify:countspam"], out CountMailsToNotActivated);
            NotificationImagePath = configuration["web:notification:image:path"];
        }
コード例 #2
0
 public StudioNotifyService()
 {
     source = new StudioNotifySource();
     client = WorkContext.NotifyContext.NotifyService.RegisterClient(source);
     //Register for web messages
     WebNotifyHandler.NotifyAction += WebNotifyHandler_NotifyAction;
 }
コード例 #3
0
 static StudioNotifyHelper()
 {
     Helplink             = CommonLinkUtility.GetHelpLink(false);
     NotifySource         = new StudioNotifySource();
     SubscriptionProvider = NotifySource.GetSubscriptionProvider();
     RecipientsProvider   = NotifySource.GetRecipientsProvider();
 }
コード例 #4
0
 public StudioNotifyService()
 {
     source = new StudioNotifySource();
     client = WorkContext.NotifyContext.NotifyService.RegisterClient(source);
     //Register for web messages
     WebNotifyHandler.NotifyAction += WebNotifyHandler_NotifyAction;
 }
コード例 #5
0
        static StudioNotifyHelper()
        {
            Helplink             = CommonLinkUtility.GetHelpLink(false);
            NotifySource         = new StudioNotifySource();
            SubscriptionProvider = NotifySource.GetSubscriptionProvider();
            RecipientsProvider   = NotifySource.GetRecipientsProvider();

            int.TryParse(ConfigurationManagerExtension.AppSettings["core.notify.countspam"], out CountMailsToNotActivated);
            NotificationImagePath = ConfigurationManagerExtension.AppSettings["web.notification.image.path"];
        }
コード例 #6
0
 public StudioNotifyHelper(
     StudioNotifySource studioNotifySource,
     UserManager userManager,
     SettingsManager settingsManager,
     AdditionalWhiteLabelSettingsHelper additionalWhiteLabelSettingsHelper,
     CommonLinkUtility commonLinkUtility,
     SetupInfo setupInfo,
     TenantManager tenantManager,
     IOptionsMonitor <ILog> option)
 {
     Helplink             = commonLinkUtility.GetHelpLink(settingsManager, additionalWhiteLabelSettingsHelper, false);
     NotifySource         = studioNotifySource;
     UserManager          = userManager;
     SetupInfo            = setupInfo;
     TenantManager        = tenantManager;
     SubscriptionProvider = NotifySource.GetSubscriptionProvider();
     RecipientsProvider   = NotifySource.GetRecipientsProvider();
     Log = option.CurrentValue;
 }
コード例 #7
0
 private StudioNotifyService()
 {
     source = new StudioNotifySource();
     client = WorkContext.NotifyContext.NotifyService.RegisterClient(source);
 }
コード例 #8
0
 private StudioNotifyService()
 {
     source = new StudioNotifySource();
     client = WorkContext.NotifyContext.NotifyService.RegisterClient(source);
 }
コード例 #9
0
 private StudioWhatsNewService()
 {
     source = new StudioNotifySource();
 }