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

C# INotifier类代码示例

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

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



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

示例1: HomeController

        // GET: Home

        public HomeController(
            IRepository<CurrencyRecord> currencyRepository,
            IRepository<OrderStatusRecord> orderStatusRepository,
            IOrderService orderService,
            ICampaignService campaignService,
            IShapeFactory shapeFactory,
            IContentManager contentManager,
            ISiteService siteService,
            IPayoutService payoutService,
            INotifier notifierService,
            ITeeyootMessagingService teeyootMessagingService,
            IWorkContextAccessor workContextAccessor)
        {
            _currencyRepository = currencyRepository;
            _orderStatusRepository = orderStatusRepository;
            _orderService = orderService;
            _campaignService = campaignService;
            _contentManager = contentManager;
            _siteService = siteService;
            _payoutService = payoutService;
            _notifierService = notifierService;
            _teeyootMessagingService = teeyootMessagingService;
            Shape = shapeFactory;

            T = NullLocalizer.Instance;
            _workContextAccessor = workContextAccessor;
        }
开发者ID:omidam81,项目名称:Ver1.0,代码行数:29,代码来源:HomeController.cs


示例2: EventsController

 public EventsController(IUserProcessor userProcessor, INewsRepository newsRepository, INotifier notifier, IProjectProcessor projectProcessor)
 {
     this.userProcessor = userProcessor;
     this.newsRepository = newsRepository;
     this.notifier = notifier;
     this.projectProcessor = projectProcessor;
 }
开发者ID:dv00d00,项目名称:BinaryStudio.TaskManager,代码行数:7,代码来源:EventsController.cs


示例3: DefaultExceptionPolicy

 public DefaultExceptionPolicy(INotifier notifier, Work<IAuthorizer> authorizer)
 {
     _notifier = notifier;
     _authorizer = authorizer;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
开发者ID:jecofang01,项目名称:OrchardNoCMS,代码行数:7,代码来源:DefaultExceptionPolicy.cs


示例4: CampaignController

        public CampaignController(
            ICampaignService campaignService,
            ITShirtCostService tshirtService,
            IProductService productService,
            IPromotionService promotionService,
            IRepository<CurrencyRecord> currencyRepository,
            IWorkContextAccessor wca,
            INotifier notifier,
            IOrchardServices services,
            ICookieCultureService cookieCultureService,
            ICountryService countryService)
        {
            _currencyRepository = currencyRepository;
            Services = services;
            _tshirtService = tshirtService;
            _productService = productService;
            _campaignService = campaignService;
            _promotionService = promotionService;
            _wca = wca;
            _notifier = notifier;
            Logger = NullLogger.Instance;

            _cookieCultureService = cookieCultureService;
            //var culture = _wca.GetContext().CurrentCulture.Trim();
            _cultureUsed = _wca.GetContext().CurrentCulture.Trim();
            //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY");
            _countryService = countryService;
        }
开发者ID:omidam81,项目名称:Ver1.0,代码行数:28,代码来源:CampaignController.cs


示例5: TeeyootMessagingService

 public TeeyootMessagingService(IRepository<MailTemplateSubjectRecord> subjectRepository, IRepository<MailChimpSettingsPartRecord> mailChimpSettingsRepository, IContentManager contentManager, IRepository<CampaignRecord> campaignRepository,
     IMailChimpSettingsService settingsService,
     IMessageService messageService,
      INotifier notifier,
     IRepository<OrderRecord> orderRepository,
     IRepository<LinkOrderCampaignProductRecord> ocpRepository,
     IRepository<UserRolesPartRecord> userRolesPartRepository,
     IRepository<PayoutRecord> payoutsRepository,
     IRepository<PaymentInformationRecord> payoutInformRepository,
     IWorkContextAccessor wca,
     IRepository<CampaignProductRecord> campaignProductRepository,
     IRepository<CurrencyRecord> currencyRepository,
     IRepository<BringBackCampaignRecord> backCampaignRepository)
 {
     _mailSubjectService = new MailSubjectService(subjectRepository);
     _mailChimpSettingsRepository = mailChimpSettingsRepository;
     _contentManager = contentManager;
     _messageService = messageService;
     _settingsService = settingsService;
     _notifier = notifier;
     _orderRepository = orderRepository;
     _ocpRepository = ocpRepository;
     _currencyRepository = currencyRepository;
     _campaignRepository = campaignRepository;
     _userRolesPartRepository = userRolesPartRepository;
     _payoutsRepository = payoutsRepository;
     _payoutInformRepository = payoutInformRepository;
     _wca = wca;
     _campaignProductRepository = campaignProductRepository;
     _backCampaignRepository = backCampaignRepository;
 }
开发者ID:omidam81,项目名称:Ver1.0,代码行数:31,代码来源:TeeyootMessagingService.cs


示例6: CommentController

 public CommentController(IOrchardServices services, ICommentService commentService, INotifier notifier)
 {
     Services = services;
     _commentService = commentService;
     _notifier = notifier;
     T = NullLocalizer.Instance;
 }
开发者ID:stack72,项目名称:GiveCamp-London,代码行数:7,代码来源:CommentController.cs


示例7: AdminController

 public AdminController(IOrchardServices services, IThemeService themeService, IPreviewTheme previewTheme, IAuthorizer authorizer, INotifier notifier)
 {
     Services = services;
     _themeService = themeService;
     _previewTheme = previewTheme;
     T = NullLocalizer.Instance;
 }
开发者ID:mofashi2011,项目名称:orchardcms,代码行数:7,代码来源:AdminController.cs


示例8: BitbucketAdminController

        public BitbucketAdminController(IBitbucketService bitbucketService, INotifier notifier)
        {
            _bitbucketService = bitbucketService;
            _notifier = notifier;

            T = NullLocalizer.Instance;
        }
开发者ID:Lombiq,项目名称:Orchard-External-Pages,代码行数:7,代码来源:BitbucketAdminController.cs


示例9: WikiPageController

 public WikiPageController(IOrchardServices orchardServices, 
     IRepository<WikiPageAttachmentRecord> repoWikiAttachment,
     ITagService tagService,
     IAuthorizationService authorizationService,
     INotifier notifier,
     ISiteService siteService,
     ISearchService searchService,
     IShapeFactory shapeFactory,
     IWikiPageService wikiPageService,
     IMediaService mediaService
    ){
     _orchardServices = orchardServices;
     _repoWikiAttachment = repoWikiAttachment;
     _tagService = tagService;
     _authorizationService = authorizationService;
     _notifier = notifier;
     _searchService = searchService;
     _siteService = siteService;
     _wikiPageService = wikiPageService;
     _mediaService = mediaService;
     Logger = NullLogger.Instance;
     Shape = shapeFactory;
    
     
 }
开发者ID:kevinthant,项目名称:wiki,代码行数:25,代码来源:WikiPageController.cs


示例10: FeatureCommands

 public FeatureCommands(IModuleService moduleService, INotifier notifier, IFeatureManager featureManager, ShellDescriptor shellDescriptor)
 {
     _moduleService = moduleService;
     _notifier = notifier;
     _featureManager = featureManager;
     _shellDescriptor = shellDescriptor;
 }
开发者ID:gokhandisikara,项目名称:Coevery-Framework,代码行数:7,代码来源:FeatureCommands.cs


示例11: AkismetCommentValidator

 public AkismetCommentValidator(INotifier notifier, IOrchardServices orchardServices)
 {
     _notifer = notifier;
     _orchardServices = orchardServices;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
开发者ID:stack72,项目名称:GiveCamp-London,代码行数:7,代码来源:CommentValidator.cs


示例12: AdminController

 public AdminController(
     IAuthorizationService authorizationService,
     ITypeFeatureProvider typeFeatureProvider,
     ISession session,
     IStringLocalizer<AdminController> stringLocalizer,
     IHtmlLocalizer<AdminController> htmlLocalizer,
     ISiteService siteService,
     IShapeFactory shapeFactory,
     RoleManager<Role> roleManager,
     IRoleProvider roleProvider,
     INotifier notifier,
     IEnumerable<IPermissionProvider> permissionProviders
     )
 {
     TH = htmlLocalizer;
     _notifier = notifier;
     _roleProvider = roleProvider;
     _typeFeatureProvider = typeFeatureProvider;
     _permissionProviders = permissionProviders;
     _roleManager = roleManager;
     _shapeFactory = shapeFactory;
     _siteService = siteService;
     T = stringLocalizer;
     _authorizationService = authorizationService;
     _session = session;
 }
开发者ID:jchenga,项目名称:Orchard2,代码行数:26,代码来源:AdminController.cs


示例13: PluginViewModel

		public PluginViewModel(Plugin plugin)
		{
			this.Plugin = plugin;

			var notifiers = plugin.OfType<INotifier>().ToArray();
			if (notifiers.Length >= 1) this.notifier = new AggregateNotifier(notifiers);
		}
开发者ID:NatLee,项目名称:KanColleViewer,代码行数:7,代码来源:PluginViewModel.cs


示例14: AdminController

        public AdminController(
            IContentManager contentManager,
            IContentItemDisplayManager contentItemDisplayManager,
            IContentDefinitionManager contentDefinitionManager,
            ISiteService siteService,
            INotifier notifier,
            ISession session,
            IShapeFactory shapeFactory,
            ILogger<AdminController> logger,
            IHtmlLocalizer<AdminController> localizer,
            IAuthorizationService authorizationService,
            IEnumerable<IContentAdminFilter> contentAdminFilters
            )
        {
            _contentAdminFilters = contentAdminFilters;
            _authorizationService = authorizationService;
            _notifier = notifier;
            _contentItemDisplayManager = contentItemDisplayManager;
            _session = session;
            _siteService = siteService;
            _contentManager = contentManager;
            _contentDefinitionManager = contentDefinitionManager;

            T = localizer;
            New = shapeFactory;
            Logger = logger;
        }
开发者ID:geertdoornbos,项目名称:Orchard2,代码行数:27,代码来源:AdminController.cs


示例15: AdminController

        public AdminController(
            IContentDefinitionDisplayManager contentDefinitionDisplayManager,
            IContentDefinitionService contentDefinitionService,
            IContentDefinitionManager contentDefinitionManager,
            ShellSettings settings,
            IAuthorizationService authorizationService,
            ISession session,
            ILogger<AdminController> logger,
            IHtmlLocalizer<AdminMenu> htmlLocalizer,
            IStringLocalizer<AdminMenu> stringLocalizer,
            INotifier notifier
            )
        {
            _notifier = notifier;
            _contentDefinitionDisplayManager = contentDefinitionDisplayManager;
            _session = session;
            _authorizationService = authorizationService;
            _contentDefinitionService = contentDefinitionService;
            _contentDefinitionManager = contentDefinitionManager;
            _settings = settings;

            Logger = logger;
            T = htmlLocalizer;
            S = stringLocalizer;
        }
开发者ID:rodpl,项目名称:Orchard2,代码行数:25,代码来源:AdminController.cs


示例16: WinGameCommand

 public WinGameCommand(INotifier notifier, IScoreboard scoreboard, IDataState data)
 {
     this.Data = data;
     this.Data.PlayTime = (DateTime.Now - this.Data.StartTime).TotalMinutes;
     this.Notifier = notifier;
     this.Scoreboard = scoreboard;
 }
开发者ID:InKolev,项目名称:HQC-Team-Bulls-and-Cows-Telerik-Academy-2015-2016,代码行数:7,代码来源:WinGameCommand.cs


示例17: ContentController

 public ContentController(IAuthorizer authorizer, IContentManager contentManager, INotifier notifier, IContentDefinitionManager contentDefinitionManager) {
     _authorizer = authorizer;
     _contentManager = contentManager;
     _notifier = notifier;
     _contentDefinitionManager = contentDefinitionManager;
     T = NullLocalizer.Instance;
 }
开发者ID:RasterImage,项目名称:Orchard,代码行数:7,代码来源:ContentController.cs


示例18: PackageService

        public PackageService(IPackageManager packageManager, INotifier notifier)
        {
            _packageManager = packageManager;
            _notifier = notifier;

            T = NullLocalizer.Instance;
        }
开发者ID:SmartFire,项目名称:Orchard.Platform-Modules,代码行数:7,代码来源:PackageService.cs


示例19: Commerce2

 public Commerce2(IBillingProcessorFactory billingProcessorFactory, ICustomer customer, INotifier notifier, ILogger logger)
 {
     _BillingProcessorFactory = billingProcessorFactory;
     _Customer = customer;
     _Notifier = notifier;
     _Logger = logger;
 }
开发者ID:tleviathan,项目名称:DeepDiveIntoDI,代码行数:7,代码来源:Commerce2.cs


示例20: PraiseController

 public PraiseController(IPraiseRepository praiseRepository, IPeopleRepository peopleRepository, INotifier notifier, IModerationsRepository moderationsRepository)
 {
     _praiseRepository = praiseRepository;
     _peopleRepository = peopleRepository;
     _notifier = notifier;
     _moderationsRepository = moderationsRepository;
 }
开发者ID:reidev275,项目名称:AnonymousPraise,代码行数:7,代码来源:PraiseController.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# INotifyAction类代码示例发布时间:2022-05-24
下一篇:
C# INotificationService类代码示例发布时间: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