Exemple #1
0
 public MenuFeatureEvents(IOrchardServices services, IWidgetsService widgets, IMenuService oldMenuService, IAdvancedMenuService menuService)
 {
     _services = services;
     _widgets = widgets;
     _oldMenuService = oldMenuService;
     _menuService = menuService;
 }
Exemple #2
0
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IConditionManager conditionManager,
     IWidgetsService widgetsService,
     IOrchardServices orchardServices,
     IShapeDisplay shapeDisplay,
     ICacheManager cacheManager,
     ISignals signals,
     IThemeManager themeManager,
     ShellSettings shellSettings,
     IOuputCachedWidgetsService ouputCachedWidgetsService,
     IResourceManager resourceManager)
 {
     _workContextAccessor       = workContextAccessor;
     _conditionManager          = conditionManager;
     _widgetsService            = widgetsService;
     _orchardServices           = orchardServices;
     _shapeDisplay              = shapeDisplay;
     _cacheManager              = cacheManager;
     _signals                   = signals;
     _themeManager              = themeManager;
     _shellSettings             = shellSettings;
     _ouputCachedWidgetsService = ouputCachedWidgetsService;
     _resourceManager           = resourceManager;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Exemple #3
0
        public MainViewModel(IRegistryService registryService,
                             IDriveInfoService driveInfoService,
                             IDriveDetectionService detectionService,
                             IWidgetsService widgetsService,
                             ITimerService timerService,
                             IDictionary <string, IDriveViewModel> drives,
                             IDictionary <string, IInfoViewModel> widgets,
                             ILogger logger)
        {
            this.registryService  = registryService;
            this.driveInfoService = driveInfoService;
            this.widgetsService   = widgetsService;
            this.Drives           = drives;
            this.Widgets          = widgets;

            detectionService.DeviceAdded   += this.DeviceAdded;
            detectionService.DeviceRemoved += this.DeviceRemoved;

            timerService.Tick += this.TimerTick;

            this.InitRelay();

            this.Initialize();

            this.InitializeWidgets();

            this.CheckIfVersionChanged();
            logger.LogInformation(nameof(zDrive) + " is started.");
        }
Exemple #4
0
 public MenuCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService, IAdvancedMenuService menuService)
 {
     _widgetsService = widgetsService;
     _siteService = siteService;
     _membershipService = membershipService;
     _menuService = menuService;
 }
Exemple #5
0
        public WidgetsContainerPartDriver(
            ISiteThemeService siteThemeService,
            IWidgetsService widgetsService,
            IVirtualPathProvider virtualPathProvider,
            IShapeFactory shapeFactory,
            IWidgetManager widgetManager,
            IWorkContextAccessor wca,
            IContentManager contentManager,
            ILocalizationService localizationService,
            ICultureManager cultureManager,
            IAuthorizer authorizer,
            INotifier notifier)
        {
            _siteThemeService    = siteThemeService;
            _widgetsService      = widgetsService;
            _virtualPathProvider = virtualPathProvider;
            New                  = shapeFactory;
            _widgetManager       = widgetManager;
            _wca                 = wca;
            _contentManager      = contentManager;
            _localizationService = localizationService;
            _cultureManager      = cultureManager;
            _authorizer          = authorizer;
            _notifier            = notifier;

            T = NullLocalizer.Instance;
        }
        public override void Init()
        {
            base.Init();

            _widgetService  = _container.Resolve <IWidgetsService>();
            _contentManager = _container.Resolve <IContentManager>();
        }
        public WidgetPartDriver(IWidgetsService widgetsService, IContentManager contentManager)
        {
            _widgetsService = widgetsService;
            _contentManager = contentManager;

            T = NullLocalizer.Instance;
        }
Exemple #8
0
 public WidgetFilter(IContentManager contentManager, IWorkContextAccessor workContextAccessor, IRuleManager ruleManager, IWidgetsService widgetsService) {
     _contentManager = contentManager;
     _workContextAccessor = workContextAccessor;
     _ruleManager = ruleManager;
     _widgetsService = widgetsService;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
 public Migrations(IContentManager contentManager,
                   IWidgetsService widgetsService,
                   IAutorouteService autorouteService)
 {
     _autorouteService = autorouteService;
     _contentManager = contentManager;
     _widgetsService = widgetsService;
 }
Exemple #10
0
 public MenuController(
     IMenuService menuService,
     IOrchardServices orchardServices,
     IWidgetsService widgetsService ) {
     _menuService = menuService;
     _orchardServices = orchardServices;
     _widgetsService = widgetsService;
 }
Exemple #11
0
 public HomepageCommand(IWidgetsService widgetsService,
                        ISiteService siteService,
                        IMembershipService membershipService,
                        IMenuService menuService,
                        IContentManager contentManager)
 {
     widgetCommands = new WidgetCommands(widgetsService, siteService, membershipService, menuService, contentManager);
 }
Exemple #12
0
 public MenuController(
     IMenuService menuService,
     IOrchardServices orchardServices,
     IWidgetsService widgetsService)
 {
     _menuService     = menuService;
     _orchardServices = orchardServices;
     _widgetsService  = widgetsService;
 }
Exemple #13
0
 public WidgetFilter(IContentManager contentManager, IWorkContextAccessor workContextAccessor, IRuleManager ruleManager, IWidgetsService widgetsService)
 {
     _contentManager      = contentManager;
     _workContextAccessor = workContextAccessor;
     _ruleManager         = ruleManager;
     _widgetsService      = widgetsService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Exemple #14
0
 public WidgetAdminController(IOrchardServices services, IWidgetsService widgetsService, IWidgetManager widgetManager, IContentManager contentManager)
 {
     _services       = services;
     _widgetsService = widgetsService;
     _widgetManager  = widgetManager;
     _contentManager = contentManager;
     T      = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
        public LayerPartDriver(
            IConditionManager conditionManager,
            IWidgetsService widgetsService)
        {
            _conditionManager = conditionManager;
            _widgetsService   = widgetsService;

            T = NullLocalizer.Instance;
        }
Exemple #16
0
        public LayerPartDriver(
            IRuleManager ruleManager,
            IWidgetsService widgetsService)
        {
            _ruleManager    = ruleManager;
            _widgetsService = widgetsService;

            T = NullLocalizer.Instance;
        }
Exemple #17
0
        public WidgetCommands(
            IWidgetsService widgetsService, 
            ISiteService siteService, 
            IMembershipService membershipService,
            IMenuService menuService) {
            _widgetsService = widgetsService;
            _siteService = siteService;
            _membershipService = membershipService;
            _menuService = menuService;

            RenderTitle = true;
        }
Exemple #18
0
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IWidgetsService widgetsService,
     IOrchardServices orchardServices,
     ILayerEvaluationService layerEvaluationService) {
     _workContextAccessor = workContextAccessor;
     _widgetsService = widgetsService;
     _orchardServices = orchardServices;
     _layerEvaluationService = layerEvaluationService;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
Exemple #19
0
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor, 
     IRuleManager ruleManager, 
     IWidgetsService widgetsService,
     IOrchardServices orchardServices) {
     _workContextAccessor = workContextAccessor;
     _ruleManager = ruleManager;
     _widgetsService = widgetsService;
     _orchardServices = orchardServices;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IRuleManager ruleManager,
     IWidgetsService widgetsService,
     IOrchardServices orchardServices)
 {
     _workContextAccessor = workContextAccessor;
     _ruleManager         = ruleManager;
     _widgetsService      = widgetsService;
     _orchardServices     = orchardServices;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
 public Migrations(
     IContentManager contentManager,
     IMenuService menuService,
     IAliasService aliasService,
     IAutorouteService autorouteService,
     IWidgetsService widgetsService)
 {
     _contentManager = contentManager;
     _menuService = menuService;
     _aliasService = aliasService;
     _autorouteService = autorouteService;
     _widgetsService = widgetsService;
 }
Exemple #22
0
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IWidgetsService widgetsService,
     ITomeltServices tomeltServices,
     ILayerEvaluationService layerEvaluationService)
 {
     _workContextAccessor    = workContextAccessor;
     _widgetsService         = widgetsService;
     _tomeltServices         = tomeltServices;
     _layerEvaluationService = layerEvaluationService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Exemple #23
0
 public WidgetsContainerPartDriver(ISiteThemeService siteThemeService, IWidgetsService widgetsService, IVirtualPathProvider virtualPathProvider, IShapeFactory shapeFactory, IWidgetManager widgetManager, IWorkContextAccessor wca, IContentManager contentManager, IOrchardServices services, ILocalizationService localizationService, ICultureManager cultureManager)
 {
     _siteThemeService    = siteThemeService;
     _widgetsService      = widgetsService;
     _virtualPathProvider = virtualPathProvider;
     New                  = shapeFactory;
     _widgetManager       = widgetManager;
     _wca                 = wca;
     _contentManager      = contentManager;
     _services            = services;
     _localizationService = localizationService;
     _cultureManager      = cultureManager;
 }
Exemple #24
0
        public WidgetCommands(
            IWidgetsService widgetsService,
            ISiteService siteService,
            IMembershipService membershipService,
            IMenuService menuService)
        {
            _widgetsService    = widgetsService;
            _siteService       = siteService;
            _membershipService = membershipService;
            _menuService       = menuService;

            RenderTitle = true;
        }
Exemple #25
0
 public Migrations(IMenuService menuService,
                   IContentManager contentManager,
                   IQueryService queryService,
                   IWidgetsService widgetsService,
                   ITaxonomyService taxonomyService,
                   IProjectionManager projectionManager)
 {
     _menuService       = menuService;
     _contentManager    = contentManager;
     _queryService      = queryService;
     _widgetsService    = widgetsService;
     _taxonomyService   = taxonomyService;
     _projectionManager = projectionManager;
 }
Exemple #26
0
        public WidgetCommands(
            IWidgetsService widgetsService, 
            ISiteService siteService, 
            IMembershipService membershipService,
            IContentManager contentManager,
            IMenuService menuService) {
            _widgetsService = widgetsService;
            _siteService = siteService;
            _membershipService = membershipService;
            _contentManager = contentManager;
            _menuService = menuService;

            RenderTitle = true;
        }
Exemple #27
0
 public JobFeatureEventhandler(IMenuService menuService,
                               IContentManager contentManager,
                               IQueryService queryService,
                               IWidgetsService widgetsService,
                               ITaxonomyService taxonomyService,
                               IProjectionManager projectionManager)
 {
     _menuService       = menuService;
     _contentManager    = contentManager;
     _queryService      = queryService;
     _widgetsService    = widgetsService;
     _taxonomyService   = taxonomyService;
     _projectionManager = projectionManager;
 }
 public WidgetCommandsService(
     IWidgetsService widgetsService,
     IMenuService menuService,
     ISiteService siteService,
     IMembershipService membershipService,
     IContentManager contentManager)
 {
     _siteService       = siteService;
     _membershipService = membershipService;
     _widgetsService    = widgetsService;
     _menuService       = menuService;
     _contentManager    = contentManager;
     T = NullLocalizer.Instance;
 }
        public Migrations(IMenuService menuService,
                          IContentManager contentManager,
                          IQueryService queryService,
                          IWidgetsService widgetsService,
                          ITaxonomyService taxonomyService,
                            IProjectionManager projectionManager) {

            _menuService = menuService;
            _contentManager = contentManager;
            _queryService = queryService;
            _widgetsService = widgetsService;
            _taxonomyService = taxonomyService;
            _projectionManager = projectionManager;
        }
Exemple #30
0
 public CachedWidgetFilter(IWorkContextAccessor workContextAccessor,
                           IWidgetsService widgetsService,
                           IOrchardServices orchardServices,
                           IPerformanceMonitor performanceMonitor,
                           ILayerEvaluationService layerEvaluationService)
 {
     _workContextAccessor    = workContextAccessor;
     _widgetsService         = widgetsService;
     _orchardServices        = orchardServices;
     _performanceMonitor     = performanceMonitor;
     _layerEvaluationService = layerEvaluationService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
 public JobFeatureEventhandler(IMenuService menuService,
                   IContentManager contentManager,
                   IQueryService queryService,
                   IWidgetsService widgetsService,
                   ITaxonomyService taxonomyService,
                     IProjectionManager projectionManager)
 {
     _menuService = menuService;
     _contentManager = contentManager;
     _queryService = queryService;
     _widgetsService = widgetsService;
     _taxonomyService = taxonomyService;
     _projectionManager = projectionManager;
 }
 public ShapePastingFilter(
     IContentManager contentManager,
     IWorkContextAccessor workContextAccessor,
     IRuleManager ruleManager,
     IWidgetsService widgetsService,
     IEnumerable <IShapeCutter> shapeCutters,
     IEnumerable <IShapePaster> shapePasters)
 {
     _contentManager      = contentManager;
     _workContextAccessor = workContextAccessor;
     _ruleManager         = ruleManager;
     _widgetsService      = widgetsService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Exemple #33
0
 public GlimpseWidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IRuleManager ruleManager,
     IWidgetsService widgetsService,
     IOrchardServices orchardServices,
     IPerformanceMonitor performanceMonitor)
 {
     _workContextAccessor = workContextAccessor;
     _ruleManager         = ruleManager;
     _widgetsService      = widgetsService;
     _orchardServices     = orchardServices;
     _performanceMonitor  = performanceMonitor;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
 public ShapePastingFilter(
     IContentManager contentManager, 
     IWorkContextAccessor workContextAccessor, 
     IRuleManager ruleManager, 
     IWidgetsService widgetsService,
     IEnumerable<IShapeCutter> shapeCutters,
     IEnumerable<IShapePaster> shapePasters)
 {
     _contentManager = contentManager;
     _workContextAccessor = workContextAccessor;
     _ruleManager = ruleManager;
     _widgetsService = widgetsService;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
        public WidgetCommands(
            IWidgetsService widgetsService,
            ISiteService siteService,
            IMembershipService membershipService,
            IMenuService menuService,
            IContentManager contentManager)
        {
            _widgetsService    = widgetsService;
            _siteService       = siteService;
            _membershipService = membershipService;
            _menuService       = menuService;
            _contentManager    = contentManager;

            RenderTitle = true;
        }
 public GlimpseWidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IRuleManager ruleManager,
     IWidgetsService widgetsService,
     IOrchardServices orchardServices,
     IPerformanceMonitor performanceMonitor)
 {
     _workContextAccessor = workContextAccessor;
     _ruleManager = ruleManager;
     _widgetsService = widgetsService;
     _orchardServices = orchardServices;
     _performanceMonitor = performanceMonitor;
     Logger = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
 public Migrations(
     IAutorouteService autorouteService,
     IMenuService menuService,
     IRepository<QueryPartRecord> queryRepository,
     IContentManager contentManager,
     IWidgetsService widgetService,
     ITaxonomyService taxonomyService
     ) {
     _autorouteService = autorouteService;
     _menuService = menuService;
     _contentManager = contentManager;
     _widgetsService = widgetService;
     _queryRepository = queryRepository;
     _taxonomyService = taxonomyService;
     _templateProvider = new FileSystemTemplateProvider();
 }
        public AdminController(
            IOrchardServices services,
            IWidgetsService widgetsService,
            IShapeFactory shapeFactory,
            ISiteThemeService siteThemeService,
            IVirtualPathProvider virtualPathProvider)
        {
            Services             = services;
            _widgetsService      = widgetsService;
            _siteThemeService    = siteThemeService;
            _virtualPathProvider = virtualPathProvider;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
            Shape  = shapeFactory;
        }
 public WidgetsContainerPartDriver(
     ISiteThemeService siteThemeService,
     IWidgetsService widgetsService,
     IVirtualPathProvider virtualPathProvider,
     IShapeFactory shapeFactory,
     IWidgetManager widgetManager,
     IWorkContextAccessor wca,
     IContentManager contentManager)
 {
     _siteThemeService    = siteThemeService;
     _widgetsService      = widgetsService;
     _virtualPathProvider = virtualPathProvider;
     New             = shapeFactory;
     _widgetManager  = widgetManager;
     _wca            = wca;
     _contentManager = contentManager;
 }
Exemple #40
0
 public DashboardCommand(
     IWidgetsService widgetsService,
     INavigationManager navigationManager,
     IMenuService menuService,
     IAuthenticationService authenticationService,
     IContentManager contentManager,
     ISiteService siteService,
     IMembershipService membershipService)
 {
     this.widgetsService    = widgetsService;
     _navigationManager     = navigationManager;
     _menuService           = menuService;
     _contentManager        = contentManager;
     _siteService           = siteService;
     _membershipService     = membershipService;
     _authenticationService = authenticationService;
 }
        public AdminController(
            ITomeltServices services,
            IWidgetsService widgetsService,
            IShapeFactory shapeFactory,
            ISiteThemeService siteThemeService,
            IVirtualPathProvider virtualPathProvider,
            ICultureManager cultureManager)
        {
            Services             = services;
            _widgetsService      = widgetsService;
            _siteThemeService    = siteThemeService;
            _virtualPathProvider = virtualPathProvider;
            _cultureManager      = cultureManager;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
            Shape  = shapeFactory;
        }
Exemple #42
0
 public DashboardCommand(
     IQueriesAndProjectionsGenerator queriesAndProjectionsGenerator,
     IWidgetsService widgetsService,
     IContentManager contentManager,
     IMembershipService membershipService,
     IAuthenticationService authenticationService,
     ISiteService siteService,
     IMenuService menuService,
     INavigationManager navigationManager)
 {
     _queriesAndProjectionsGenerator = queriesAndProjectionsGenerator;
     _widgetsService        = widgetsService;
     _contentManager        = contentManager;
     _membershipService     = membershipService;
     _siteService           = siteService;
     _menuService           = menuService;
     _navigationManager     = navigationManager;
     _authenticationService = authenticationService;
 }
Exemple #43
0
        public SuggestionsViewModel(
            IInteractorFactory interactorFactory,
            IOnboardingStorage onboardingStorage,
            ISchedulerProvider schedulerProvider,
            IRxActionFactory rxActionFactory,
            IAnalyticsService analyticsService,
            ITimeService timeService,
            IPermissionsChecker permissionsChecker,
            INavigationService navigationService,
            IBackgroundService backgroundService,
            IUserPreferences userPreferences,
            ISyncManager syncManager,
            IWidgetsService widgetsService)
            : base(navigationService)
        {
            Ensure.Argument.IsNotNull(interactorFactory, nameof(interactorFactory));
            Ensure.Argument.IsNotNull(onboardingStorage, nameof(onboardingStorage));
            Ensure.Argument.IsNotNull(schedulerProvider, nameof(schedulerProvider));
            Ensure.Argument.IsNotNull(rxActionFactory, nameof(rxActionFactory));
            Ensure.Argument.IsNotNull(analyticsService, nameof(analyticsService));
            Ensure.Argument.IsNotNull(timeService, nameof(timeService));
            Ensure.Argument.IsNotNull(permissionsChecker, nameof(permissionsChecker));
            Ensure.Argument.IsNotNull(backgroundService, nameof(backgroundService));
            Ensure.Argument.IsNotNull(userPreferences, nameof(userPreferences));
            Ensure.Argument.IsNotNull(syncManager, nameof(syncManager));
            Ensure.Argument.IsNotNull(widgetsService, nameof(widgetsService));

            this.interactorFactory  = interactorFactory;
            this.onboardingStorage  = onboardingStorage;
            this.schedulerProvider  = schedulerProvider;
            this.rxActionFactory    = rxActionFactory;
            this.analyticsService   = analyticsService;
            this.timeService        = timeService;
            this.permissionsChecker = permissionsChecker;
            this.backgroundService  = backgroundService;
            this.userPreferences    = userPreferences;
            this.syncManager        = syncManager;
            this.widgetsService     = widgetsService;
        }
        public WidgetFilter(
            IWorkContextAccessor workContextAccessor,
            IRuleManager ruleManager,
            IWidgetsService widgetsService,
            IOrchardServices orchardServices,
            IShapeDisplay shapeDisplay,
            ICacheManager cacheManager,
            ISignals signals,
            IThemeManager themeManager,
            ShellSettings shellSettings)
        {

            _workContextAccessor = workContextAccessor;
            _ruleManager = ruleManager;
            _widgetsService = widgetsService;
            _orchardServices = orchardServices;
            _shapeDisplay = shapeDisplay;
            _cacheManager = cacheManager;
            _signals = signals;
            _themeManager = themeManager;
            _shellSettings = shellSettings;
            Logger = NullLogger.Instance;
            T = NullLocalizer.Instance;
        }
Exemple #45
0
 public WidgetCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService) {
     _widgetsService = widgetsService;
     _siteService = siteService;
     _membershipService = membershipService;
 }
Exemple #46
0
		public WidgetServiceSecurity(IWidgetsService widgetsService, ISecurityContext securityContext)
		{
			_widgetsService = ValidationUtil.CheckOnNullAndThrowIfNull(widgetsService);
			_securityContext = ValidationUtil.CheckOnNullAndThrowIfNull(securityContext);
			_widgetsCollection = new WidgetsCollection();
		}
 public AdminController(IWidgetsService widgetService) {
     _widgetService = widgetService;
 }
 public WidgetMigrations(IContentManager contentManager, IWidgetsService widgetsService) {
     _contentManager = contentManager;
     _widgetsService = widgetsService;
 }
 public CachedLayerRetrievalService(ICacheService cacheService, IOrchardServices orchardServices, IWidgetsService widgetsService)
 {
     _cacheService = cacheService;
     _orchardServices = orchardServices;
     _widgetsService = widgetsService;
 }
Exemple #50
0
 public WidgetCommands(IWidgetsService widgetsService, ISiteService siteService, IMembershipService membershipService)
 {
     _widgetsService    = widgetsService;
     _siteService       = siteService;
     _membershipService = membershipService;
 }
 public ContentWidgetsSettingsHooks(IWidgetsService widgetService)
 {
     _widgetService = widgetService;
 }
 public SearchMigrations(
     IIndexManager indexManager, 
     IOrchardServices orchardServices,
     IIndexingService indexingService,
     IContentDefinitionManager contentDefinitionManager,
     IWidgetsService widgetService,
     IContentManager contentManager)
 {
     _indexManager = indexManager;
     _orchardServices = orchardServices;
     _indexingService = indexingService;
     _contentDefinitionManager = contentDefinitionManager;
     _widgetsService = widgetService;
     _contentManager = contentManager;
 }
 public ContentWidgetsSettingsHooks(IWidgetsService widgetService)
 {
     _widgetService = widgetService;
 }
Exemple #54
0
        public override void Init() {
            base.Init();

            _widgetService = _container.Resolve<IWidgetsService>();
            _contentManager = _container.Resolve<IContentManager>();
        }