本文整理汇总了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;
}
示例2: AnalyticsManager
public AnalyticsManager(INotificationManager notificationManager, IEnvironmentInformation environmentInformation, IPersistentStorage persistentStorage, IRegistrationController registrationController)
{
_notificationManager = notificationManager;
_environmentInformation = environmentInformation;
_persistentStorage = persistentStorage;
_registrationController = registrationController;
}
示例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);
}
}
}
示例4: UserManager
public UserManager(ILogger logger, IStepMapConfig config, IRegexHelper regexHelper, INotificationManager notificationManager)
{
this.logger = logger;
this.regexHelper = regexHelper;
this.notificationManager = notificationManager;
this.config = config;
}
示例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);
}
示例6: Channel
public Channel(IHttpClient httpClient, ILogManager logManager, IProviderManager providerManager, INotificationManager notificationManager)
{
_httpClient = httpClient;
_logger = logManager.GetLogger(GetType().Name);
_providerManager = providerManager;
_notificationManager = notificationManager;
}
示例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;
}
示例8: AdminNotificationFilter
public AdminNotificationFilter(
INotificationManager notificationManager,
IWorkContextAccessor workContextAccessor,
IShapeFactory shapeFactory) {
_notificationManager = notificationManager;
_workContextAccessor = workContextAccessor;
_shapeFactory = shapeFactory;
}
示例9: Mp3MatchEngine
public Mp3MatchEngine(IAppSettingsHelper settingsHelper, IAudioticaService audioticaService,
INotificationManager notificationManager, IDispatcherHelper dispatcherHelper)
{
_audioticaService = audioticaService;
_notificationManager = notificationManager;
_dispatcherHelper = dispatcherHelper;
_service = new Mp3SearchService(settingsHelper);
}
示例10: NotificationController
public NotificationController(INotificationManager manager, IScheduleManager sm, IEmployeeManager emanag, IRiderMasterManager RiderManager)
{
this.manager = manager;
this.smanag = sm;
this.emanag = emanag;
this.RiderManager = RiderManager;
}
示例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);
}
示例12: NotificationsController
public NotificationsController(
INotificationTemplateService notificationTemplateService,
INotificationManager notificationManager,
INotificationTemplateResolver eventTemplateResolver)
{
_notificationTemplateService = notificationTemplateService;
_notificationManager = notificationManager;
_eventTemplateResolver = eventTemplateResolver;
}
示例13: TeamsApiController
public TeamsApiController(
ITeamManager teamManager,
IImageManager imageManager,
INotificationManager notificationManager)
{
_teamManager = teamManager;
_imageManager = imageManager;
_notificationManager = notificationManager;
}
示例14: StickyNotificationFilter
public StickyNotificationFilter(
INotifier notifier,
INotificationManager notificationManager,
IWorkContextAccessor wca)
{
_notifier = notifier;
_notificationManager = notificationManager;
_wca = wca;
}
示例15: TaskListManager
public TaskListManager(ITaskListRepository repo, IUserRepository userRepo, INotificationManager notify,
IUserListsRepository userListsRepo, IListUsersRepository listUsersRepo)
{
_repository = repo;
_userRepository = userRepo;
_noticationMgr = notify;
_userListsRepo = userListsRepo;
_listUsersRepo = listUsersRepo;
}