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


C# ISignals类代码示例

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


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

示例1: ShadowCultureManager

 public ShadowCultureManager(IRepository<CultureRecord> cultureRepository, 
                              IEnumerable<ICultureSelector> cultureSelectors, 
                              ISignals signals, 
                              IWorkContextAccessor workContextAccessor) {
     _workContextAccessor = workContextAccessor;
     _underlyingCultureManager = new DefaultCultureManager(cultureRepository, cultureSelectors, signals, workContextAccessor);
 }
开发者ID:qt1,项目名称:orchard_contrib-RM.Localization,代码行数:7,代码来源:ShadowCultureManager.cs

示例2: NotificationService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="notificationRepository">Notification repository</param>
 /// <param name="eventPublisher">Event published</param>
 public NotificationService(ICacheManager cacheManager,
     IRepository<Notification> notificationRepository,
     ISignals signals) {
     _cacheManager = cacheManager;
     _notificationRepository = notificationRepository;
     _signals = signals;
 }
开发者ID:hsb0307,项目名称:Nut.NET,代码行数:13,代码来源:NotificationService.cs

示例3: LocalizedTagCloudHandler

        public LocalizedTagCloudHandler(
            ILocalizedTagsService tagsService,
            ISignals signals) {

            _tagsService = tagsService;
            _signals = signals;
        }
开发者ID:qt1,项目名称:orchard_contrib-RM.Localization,代码行数:7,代码来源:LocalizedTagCloudHandler.cs

示例4: UrlPermissionPartHandler

        public UrlPermissionPartHandler(ISignals signals)
        {
            _signals = signals;

            OnUpdated<UrlPermissionPart>(EmptyCache);
            OnRemoved<UrlPermissionPart>(EmptyCache);
        }
开发者ID:Lombiq,项目名称:Orchard-Route-Permissions,代码行数:7,代码来源:UrlPermissionPartHandler.cs

示例5: StoreService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="storeRepository">Store repository</param>
 public StoreService(ICacheManager cacheManager,
     IRepository<Store> storeRepository,
     ISignals signals) {
     this._cacheManager = cacheManager;
     this._storeRepository = storeRepository;
     this._signals = signals;
 }
开发者ID:hsb0307,项目名称:Nut.NET,代码行数:12,代码来源:StoreService.cs

示例6: ShapePartHandler

        public ShapePartHandler(ISignals signals) {
            _signals = signals;

            OnPublished<ShapePart>((ctx, part) => InvalidateTemplatesCache());
            OnUnpublished<ShapePart>((ctx, part) => InvalidateTemplatesCache());
            OnRemoved<ShapePart>((ctx, part) => InvalidateTemplatesCache());
        }
开发者ID:jdages,项目名称:AndrewsHouse,代码行数:7,代码来源:ShapePartHandler.cs

示例7: ThumbnailsService

        public ThumbnailsService(ShellSettings settings, IWorkContextAccessor wca, ICacheManager cacheManager, IMediaService mediaService, ISignals signals, IStorageProvider storageProvider)
        {
            _wca = wca;
            _cacheManager = cacheManager;
            _mediaService = mediaService;
            _signals = signals;
            _storageProvider = storageProvider;
            var appPath = "";
            if (HostingEnvironment.IsHosted)
            {
                appPath = HostingEnvironment.ApplicationVirtualPath;
            }
            if (!appPath.EndsWith("/"))
                appPath = appPath + '/';
            if (!appPath.StartsWith("/"))
                appPath = '/' + appPath;

            _publicPath = appPath + "Media/" + settings.Name + "/";

            var physPath = ThumbnailsCacheMediaPath.Replace('/', Path.DirectorySeparatorChar);
            var parent = Path.GetDirectoryName(physPath);
            var folder = Path.GetFileName(physPath);
            if (_mediaService.GetMediaFolders(parent).All(f => f.Name != folder))
            {
                _mediaService.CreateFolder(parent, folder);
            }
        }
开发者ID:pnmcosta,项目名称:orchardcontribthumbnails,代码行数:27,代码来源:ThumbnailsService.cs

示例8: AdminController

 public AdminController(IContentManager contentManager,
     IOrchardServices services,
     IShapeFactory shapeFactory,
     IContentDefinitionManager contentDefinitionManager,
     IRemoteContentFetchService remoteContentFetchService,
     ISynchronisationMapFactory synchronisationMapFactory,
     IRepository<ContentSyncSettings> contentSyncSettingsRepository,
     ISignals signals,
     ILoggerFactory loggerFactory,
     ICacheManager cacheManager,
     IImportExportService importExportService,
     IRecipeParser recipeParser,
     IRemoteImportService remoteImportService,
     IEnumerable<IHardComparer> hardComparers, 
     IEnumerable<ISoftComparer> softComparers) {
     _contentManager = contentManager;
     _services = services;
     _shapeFactory = shapeFactory;
     _contentDefinitionManager = contentDefinitionManager;
     _remoteContentFetchService = remoteContentFetchService;
     _synchronisationMapFactory = synchronisationMapFactory;
     _contentSyncSettingsRepository = contentSyncSettingsRepository;
     _signals = signals;
     _loggerFactory = loggerFactory;
     _cacheManager = cacheManager;
     _importExportService = importExportService;
     _recipeParser = recipeParser;
     _remoteImportService = remoteImportService;
     _hardComparers = hardComparers;
     _softComparers = softComparers;
     Logger = loggerFactory.CreateLogger(typeof (AdminController));
     }
开发者ID:andrewmyhre,项目名称:Tad.ContentSync,代码行数:32,代码来源:AdminController.cs

示例9: AdminController

 public AdminController(IOrchardServices services, ILinkRewriteService service, ISignals signals)
 {
     _services = services;
     _service = service;
     _signals = signals;
     T = NullLocalizer.Instance;
 }
开发者ID:Timbioz,项目名称:SciGitAzure,代码行数:7,代码来源:AdminController.cs

示例10: AdvancedSitemapService

 public AdvancedSitemapService(
     IRepository<SitemapRouteRecord> routeRepository, 
     IRepository<SitemapSettingsRecord> settingsRepository,
     IRepository<SitemapCustomRouteRecord> customRouteRepository,
     IContentManager contentManager,
     ICacheManager cacheManager,
     ISignals signals,
     IClock clock,
     IContentDefinitionManager contentDefinitionManager,
     IEnumerable<ISitemapRouteFilter> routeFilters,
     IEnumerable<ISitemapRouteProvider> routeProviders, 
     ISiteService siteService, 
     IEnumerable<ISpecializedSitemapProvider> specializedSitemapProviders)
 {
     _routeRepository = routeRepository;
     _settingsRepository = settingsRepository;
     _customRouteRepository = customRouteRepository;
     _contentManager = contentManager;
     _cacheManager = cacheManager;
     _signals = signals;
     _clock = clock;
     _contentDefinitionManager = contentDefinitionManager;
     _routeFilters = routeFilters;
     _routeProviders = routeProviders;
     _siteService = siteService;
     _specializedSitemapProviders = specializedSitemapProviders;
 }
开发者ID:jeffolmstead,项目名称:Orchard-SiteMap,代码行数:27,代码来源:AdvancedSitemapService.cs

示例11: DepartmentService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="departmentRepository">Department repository</param>
 /// <param name="eventPublisher">Event published</param>
 public DepartmentService(ICacheManager cacheManager,
     IRepository<Department> departmentRepository,
     ISignals signals) {
     _cacheManager = cacheManager;
     _departmentRepository = departmentRepository;
     _signals = signals;
 }
开发者ID:hsb0307,项目名称:Nut.NET,代码行数:13,代码来源:DepartmentService.cs

示例12: OutputCacheFilter

        public OutputCacheFilter(
            ICacheManager cacheManager,
            IOutputCacheStorageProvider cacheStorageProvider,
            ITagCache tagCache,
            IDisplayedContentItemHandler displayedContentItemHandler,
            IWorkContextAccessor workContextAccessor,
            IThemeManager themeManager,
            IClock clock,
            ICacheService cacheService,
            ISignals signals,
            ShellSettings shellSettings) {

            _cacheManager = cacheManager;
            _cacheStorageProvider = cacheStorageProvider;
            _tagCache = tagCache;
            _displayedContentItemHandler = displayedContentItemHandler;
            _workContextAccessor = workContextAccessor;
            _themeManager = themeManager;
            _clock = clock;
            _cacheService = cacheService;
            _signals = signals;
            _shellSettings = shellSettings;

            Logger = NullLogger.Instance;
        }
开发者ID:hxmtl,项目名称:Orchard-Harvest-Website,代码行数:25,代码来源:OutputCacheFilter.cs

示例13: UsersService

 public UsersService(
     IContentManager contentManager, 
     IOrchardServices orchardServices, 
     IRoleService roleService, 
     IMessageManager messageManager, 
     IScheduledTaskManager taskManager, 
     IRepository<EmailPartRecord> emailRepository, 
     ShellSettings shellSettings, 
     IRepository<UserRolesPartRecord> userRolesRepository, 
     ICacheManager cache, 
     IClock clock, 
     ISignals signals) 
 {
     _signals = signals;
     _clock = clock;
     _cache = cache;
     _emailRepository = emailRepository;
     _orchardServices = orchardServices;
     _contentManager = contentManager;
     _roleService = roleService;
     _messageManager = messageManager;
     _taskManager = taskManager;
     _shellSettings = shellSettings;
     _userRolesRepository = userRolesRepository;
     T = NullLocalizer.Instance;
     Logger = NullLogger.Instance;            
 }
开发者ID:NickAndersonX,项目名称:xodb,代码行数:27,代码来源:UsersService.cs

示例14: AppVersionService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="appVersionRepository">AppVersion repository</param>
 /// <param name="eventPublisher">Event published</param>
 public AppVersionService(ICacheManager cacheManager,
     IRepository<AppVersion> appVersionRepository,
     ISignals signals) {
     _cacheManager = cacheManager;
     _appVersionRepository = appVersionRepository;
     _signals = signals;
 }
开发者ID:hsb0307,项目名称:Nut.NET,代码行数:13,代码来源:AppVersionService.cs

示例15: JPushUserService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="cacheManager">Cache manager</param>
 /// <param name="jPushUserRepository">JPushUser repository</param>
 /// <param name="eventPublisher">Event published</param>
 public JPushUserService(ICacheManager cacheManager,
     IRepository<JPushUser> jPushUserRepository,
     ISignals signals) {
     _cacheManager = cacheManager;
     _jPushUserRepository = jPushUserRepository;
     _signals = signals;
 }
开发者ID:hsb0307,项目名称:Nut.NET,代码行数:13,代码来源:JPushUserService.cs


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