• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# INotificationManager类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中INotificationManager的典型用法代码示例。如果您正苦于以下问题:C# INotificationManager类的具体用法?C# INotificationManager怎么用?C# INotificationManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



INotificationManager类属于命名空间,在下文中一共展示了INotificationManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: OutputCacheFilter

        public OutputCacheFilter(
            ICacheManager cacheManager,
            IOutputCacheStorageProvider cacheStorageProvider,
            ITagCache tagCache,
            IDisplayedContentItemHandler displayedContentItemHandler,
            IWorkContextAccessor workContextAccessor,
            IThemeManager themeManager,
            IClock clock,
            ICacheService cacheService,
            ISignals signals,
            ShellSettings shellSettings,
            ICacheControlStrategy cacheControlStrategy,
            INotificationManager notificationManager 
            ) {
            _cacheManager = cacheManager;
            _cacheStorageProvider = cacheStorageProvider;
            _tagCache = tagCache;
            _displayedContentItemHandler = displayedContentItemHandler;
            _workContextAccessor = workContextAccessor;
            _themeManager = themeManager;
            _clock = clock;
            _cacheService = cacheService;
            _signals = signals;
            _shellSettings = shellSettings;
            _cacheControlStrategy = cacheControlStrategy;
            _notificationManager = notificationManager;

            Logger = NullLogger.Instance;
        }
开发者ID:domonkosgabor,项目名称:OrchardSource,代码行数:29,代码来源:OutputCacheFilter.cs


示例2: AnalyticsManager

		public AnalyticsManager(INotificationManager notificationManager, IEnvironmentInformation environmentInformation, IPersistentStorage persistentStorage, IRegistrationController registrationController)
		{
			_notificationManager = notificationManager;
			_environmentInformation = environmentInformation;
			_persistentStorage = persistentStorage;
			_registrationController = registrationController;
		}
开发者ID:Donky-Network,项目名称:DonkySDK-Xamarin-Modular,代码行数:7,代码来源:AnalyticsManager.cs


示例3: Refresh

        public async Task<IEnumerable<ChannelItemInfo>> Refresh(IProviderManager providerManager,
            IHttpClient httpClient,
            string url,
            INotificationManager notificationManager,
            CancellationToken cancellationToken)
        {
            var options = new HttpRequestOptions
            {
                Url = url,
                CancellationToken = cancellationToken,

                // Seeing some deflate stream errors
                EnableHttpCompression = false
            };

            using (Stream stream = await httpClient.Get(options).ConfigureAwait(false))
            {
                using (var reader = new StreamReader(stream))
                {
                    XDocument document = XDocument.Parse(reader.ReadToEnd());
                    var x = from c in document.Root.Element("channel").Elements("item") select c;

                    return x.Select(CreatePodcast).Where(i => i != null);
                }
            }
        }
开发者ID:curtisghanson,项目名称:Emby.Channels,代码行数:26,代码来源:RSSFeed.cs


示例4: UserManager

 public UserManager(ILogger logger, IStepMapConfig config, IRegexHelper regexHelper, INotificationManager notificationManager)
 {
     this.logger = logger;
     this.regexHelper = regexHelper;
     this.notificationManager = notificationManager;
     this.config = config;
 }
开发者ID:Kemyke,项目名称:StepMap.net,代码行数:7,代码来源:UserManager.cs


示例5: IssuesSearchViewModel

        /// <summary>
        /// Initializes a new instance of the <see cref="IssuesSearchViewModel" /> class.
        /// </summary>
        /// <param name="searchModel">The search model.</param>
        /// <param name="notificationManager">The notification manager.</param>
        /// <param name="configurationHelper">The configuration helper.</param>
        /// <param name="restService">The rest service.</param>
        /// <param name="translator">The translator.</param>
        public IssuesSearchViewModel(
            IssuesSearchModel searchModel,
            INotificationManager notificationManager,
            IConfigurationHelper configurationHelper,
            ISonarRestService restService,
            ISQKeyTranslator translator)
        {
            this.notificationManager = notificationManager;
            this.configurationHelper = configurationHelper;
            this.searchModel = searchModel;
            this.Header = "Issues Search";
            this.AvailableActionPlans = new ObservableCollection<SonarActionPlan>();
            this.UsersList = new ObservableCollection<User>();
            this.IssuesGridView = new IssueGridViewModel(true, "SearchView", false, configurationHelper, restService, notificationManager, translator);
            this.IssuesGridView.ShowLeftFlyoutEvent += this.ShowHideLeftFlyout;
            this.SizeOfFlyout = 0;

            this.InitCommanding();

            this.ForeGroundColor = Colors.Black;
            this.BackGroundColor = Colors.White;
            this.CreatedBeforeDate = DateTime.Now;
            this.CreatedSinceDate = DateTime.Now;

            SonarQubeViewModel.RegisterNewViewModelInPool(this);
        }
开发者ID:kevinpohlmeier,项目名称:VSSonarQubeExtension,代码行数:34,代码来源:IssuesSearchViewModel.cs


示例6: Channel

 public Channel(IHttpClient httpClient, ILogManager logManager, IProviderManager providerManager, INotificationManager notificationManager)
 {
     _httpClient = httpClient;
     _logger = logManager.GetLogger(GetType().Name);
     _providerManager = providerManager;
     _notificationManager = notificationManager;
 }
开发者ID:curtisghanson,项目名称:Emby.Channels,代码行数:7,代码来源:Channel.cs


示例7: StorefrontSecurityController

 public StorefrontSecurityController(ISecurityService securityService, Func<ApplicationSignInManager> signInManagerFactory, INotificationManager notificationManager, IStoreService storeService, IMemberService memberService)
 {
     _securityService = securityService;
     _signInManagerFactory = signInManagerFactory;
     _notificationManager = notificationManager;
     _storeService = storeService;
     _memberService = memberService;
 }
开发者ID:sameerkattel,项目名称:vc-community,代码行数:8,代码来源:StoreFrontSecurityController.cs


示例8: AdminNotificationFilter

 public AdminNotificationFilter(
     INotificationManager notificationManager, 
     IWorkContextAccessor workContextAccessor, 
     IShapeFactory shapeFactory) {
     _notificationManager = notificationManager;
     _workContextAccessor = workContextAccessor;
     _shapeFactory = shapeFactory;
 }
开发者ID:Vinna,项目名称:DeepInSummer,代码行数:8,代码来源:NotificationFilter.cs


示例9: Mp3MatchEngine

 public Mp3MatchEngine(IAppSettingsHelper settingsHelper, IAudioticaService audioticaService,
     INotificationManager notificationManager, IDispatcherHelper dispatcherHelper)
 {
     _audioticaService = audioticaService;
     _notificationManager = notificationManager;
     _dispatcherHelper = dispatcherHelper;
     _service = new Mp3SearchService(settingsHelper);
 }
开发者ID:jayharry28,项目名称:Audiotica,代码行数:8,代码来源:Mp3MatchEngine.cs


示例10: NotificationController

        public NotificationController(INotificationManager manager, IScheduleManager sm, IEmployeeManager emanag, IRiderMasterManager RiderManager)
        {
            this.manager = manager;
           this.smanag = sm;
            this.emanag = emanag;
            this.RiderManager = RiderManager;

        }
开发者ID:kennethrithvik,项目名称:RideAlly,代码行数:8,代码来源:NotificationController.cs


示例11: RemoteNotificationManager

		public RemoteNotificationManager(IRemoteNotificationChannel channel, IRegistrationManager registrationManager, IEventBus eventBus, INotificationManager notificationManager)
		{
			_channel = channel;
			_registrationManager = registrationManager;
			_notificationManager = notificationManager;

			eventBus.Subscribe<RemoteChannelDetailsChanged>(HandleChannelDetailsChanged);
			eventBus.Subscribe<RemoteNotificationReceivedEvent>(HandleNotificationReceived);
		}
开发者ID:Donky-Network,项目名称:DonkySDK-Xamarin-Modular,代码行数:9,代码来源:RemoteNotificationManager.cs


示例12: NotificationsController

 public NotificationsController(
     INotificationTemplateService notificationTemplateService,
     INotificationManager notificationManager,
     INotificationTemplateResolver eventTemplateResolver)
 {
     _notificationTemplateService = notificationTemplateService;
     _notificationManager = notificationManager;
     _eventTemplateResolver = eventTemplateResolver;
 }
开发者ID:nisarzahid,项目名称:vc-community,代码行数:9,代码来源:NotificationsController.cs


示例13: TeamsApiController

 public TeamsApiController(
     ITeamManager teamManager,
     IImageManager imageManager,
     INotificationManager notificationManager)
 {
     _teamManager = teamManager;
     _imageManager = imageManager;
     _notificationManager = notificationManager;
 }
开发者ID:iteam-software,项目名称:smash-league,代码行数:9,代码来源:TeamsController.cs


示例14: StickyNotificationFilter

 public StickyNotificationFilter(
     INotifier notifier,
     INotificationManager notificationManager,
     IWorkContextAccessor wca)
 {
     _notifier = notifier;
     _notificationManager = notificationManager;
     _wca = wca;
 }
开发者ID:Lombiq,项目名称:Smart-Notifications,代码行数:9,代码来源:StickyNotificationFilter.cs


示例15: TaskListManager

 public TaskListManager(ITaskListRepository repo, IUserRepository userRepo, INotificationManager notify,
     IUserListsRepository userListsRepo, IListUsersRepository listUsersRepo)
 {
     _repository = repo;
     _userRepository = userRepo;
     _noticationMgr = notify;
     _userListsRepo = userListsRepo;
     _listUsersRepo = listUsersRepo;
 }
开发者ID:sandrapatfer,项目名称:PROMPT11-10-CloudComputing.sandrapatfer,代码行数:9,代码来源:TaskListManager.cs


示例16: RichMessagingManager

        public RichMessagingManager(IRichDataContext context, ICommonMessagingManager commonMessagingManager, IJsonSerialiser serialiser, IEventBus eventBus, IConfigurationManager configurationManager, INotificationManager notificationManager)
		{
			_context = context;
			_commonMessagingManager = commonMessagingManager;
			_serialiser = serialiser;
			_eventBus = eventBus;
            _configurationManager = configurationManager;
			_notificationManager = notificationManager;
		}
开发者ID:Donky-Network,项目名称:DonkySDK-Xamarin-Modular,代码行数:9,代码来源:RichMessagingManager.cs


示例17: NewsEntryPoint

 public NewsEntryPoint(IHttpClient httpClient, IApplicationPaths appPaths, IFileSystem fileSystem, ILogger logger, IJsonSerializer json, INotificationManager notifications, IUserManager userManager)
 {
     _httpClient = httpClient;
     _appPaths = appPaths;
     _fileSystem = fileSystem;
     _logger = logger;
     _json = json;
     _notifications = notifications;
     _userManager = userManager;
 }
开发者ID:t-andre,项目名称:Emby,代码行数:10,代码来源:NewsEntryPoint.cs


示例18: NoteManager

 public NoteManager(INoteRepository repo, IUserRepository userRepo, ITaskListManager mgr, INotificationManager notify,
     IUserListsRepository userNotesRepo, IListUsersRepository noteUsersRepo)
 {
     _repository = repo;
     _userRepository = userRepo;
     _taskListManager = mgr;
     _noticationMgr = notify;
     _userNotesRepo = userNotesRepo;
     _noteUsersRepo = noteUsersRepo;
 }
开发者ID:sandrapatfer,项目名称:PROMPT11-10-CloudComputing.sandrapatfer,代码行数:10,代码来源:NoteManager.cs


示例19: RemoteNotifications

 public RemoteNotifications(IApplicationPaths appPaths, ILogger logger, IHttpClient httpClient, IJsonSerializer json, IUserManager userManager, IFileSystem fileSystem, INotificationManager notificationManager)
 {
     _appPaths = appPaths;
     _logger = logger;
     _httpClient = httpClient;
     _json = json;
     _userManager = userManager;
     _fileSystem = fileSystem;
     _notificationManager = notificationManager;
 }
开发者ID:bigjohn322,项目名称:MediaBrowser,代码行数:10,代码来源:RemoteNotifications.cs


示例20: LoginController

 public LoginController(IAuthProvider auth, IUserRepo userRepo, ICCFolderRepo folder, IAccountRepo account, ICCTokenRepo token, INotificationManager notifMgr, ICCItemRepo item, ICCErrorLogRepo errorlogs)
 {
     authProvider = auth;
     userRepository = userRepo;
     CCFolderRepository = folder;
     accRepository = account;
     CCTokenRepository = token;
     notifManager = notifMgr;
     items = item;
     CCErrorLogRepository = errorlogs;
 }
开发者ID:sam1169,项目名称:xobnu-web-interface,代码行数:11,代码来源:LoginController.cs



注:本文中的INotificationManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# INotificationService类代码示例发布时间:2022-05-24
下一篇:
C# INotification类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap