当前位置: 首页>>代码示例>>C#>>正文


C# INotificationManager类代码示例

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


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


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