public CatalogModuleProductsController(IItemService itemsService, IPropertyService propertyService, IBlobUrlResolver blobUrlResolver, ICatalogService catalogService, ISkuGenerator skuGenerator)
        {
            _itemsService = itemsService;
            _propertyService = propertyService;
			_blobUrlResolver = blobUrlResolver;
			_catalogService = catalogService;
			_skuGenerator = skuGenerator;
        }
		public CatalogModulePropertiesController(IPropertyService propertyService,
									ICategoryService categoryService, ICatalogService catalogService)
        {
            _propertyService = propertyService;
			_categoryService = categoryService;
			_catalogService = catalogService;
		
        }
        public ApplicationsController(IApplicationService applicationService, IPropertyService propertyService)
        {
            Check.If(applicationService).IsNotNull();
            Check.If(propertyService).IsNotNull();

            _applicationService = applicationService;
            _propertyService = propertyService;
        }
Ejemplo n.º 4
0
 public FileService(IPropertyService propertyService, IEventAggregator eventAggregator, IWorkbench workbench,
     IDisplayBindingService displayBindingService)
 {
     property_service = propertyService;
     event_aggregator = eventAggregator;
     this.workbench = workbench;
     display_binding_service = displayBindingService;
     //SD.ParserService.LoadSolutionProjectsThread.Finished += ParserServiceLoadSolutionProjectsThreadEnded;
 }
        public CatalogModuleCatalogsController(ICatalogService catalogService, ICatalogSearchService itemSearchService,
								  ISettingsManager settingManager, IPropertyService propertyService, ISecurityService securityService, IPermissionScopeService permissionScopeService)
            :base(securityService, permissionScopeService)
        {
            _catalogService = catalogService;
            _searchService = itemSearchService;
			_propertyService = propertyService;
			_settingManager = settingManager;
        }
 public CatalogModuleCategoriesController(ICatalogSearchService searchService,
                             ICategoryService categoryService,
                             IPropertyService propertyService, ICatalogService catalogService)
 {
     _searchService = searchService;
     _categoryService = categoryService;
     _propertyService = propertyService;
     _catalogService = catalogService;
 }
		public CatalogExportImport(ICatalogSearchService catalogSearchService,
			ICatalogService catalogService, ICategoryService categoryService, IItemService itemService, IPropertyService propertyService)
		{
			_catalogSearchService = catalogSearchService;
			_catalogService = catalogService;
			_categoryService = categoryService;
			_itemService = itemService;
			_propertyService = propertyService;
		}
Ejemplo n.º 8
0
 public ProductController(IProductService productService, IWorkContext workContext,
     ICategoryService categoryService, IPropertyService propertyService, IPropertyValueService propertyValueService)
 {
     _productService = productService;
     _workContext = workContext;
     _categoryService = categoryService;
     _propertyService = propertyService;
     _propertyValueService = propertyValueService;
 }
        public DisplayBindingService(IPropertyService propertyService, IMessageLoop mainThread,
            Func<ErrorDocumentDisplayBinding> errorDocDisplayBindingFactory)
        {
            main_thread = mainThread;
            error_doc_display_binding_factory = errorDocDisplayBindingFactory;

            descriptors = AddInTree.BuildItems<DisplayBindingDescriptor>(DisplayBindingPath, null, true);
            display_binding_properties = propertyService.NestedProperties("DisplayBindingService");
        }
		public CatalogModulePropertiesController(IPropertyService propertyService, ICategoryService categoryService, ICatalogService catalogService, 
                                                 ISecurityService securityService, IPermissionScopeService permissionScopeService)
            :base(securityService, permissionScopeService)
        {
            _propertyService = propertyService;
			_categoryService = categoryService;
			_catalogService = catalogService;
		
        }
 public CatalogModuleProductsController(IItemService itemsService, IPropertyService propertyService, IBlobUrlResolver blobUrlResolver, 
                                        ICatalogService catalogService, ISkuGenerator skuGenerator, ISecurityService securityService, IPermissionScopeService permissionScopeService)
     :base(securityService, permissionScopeService)
 {
     _itemsService = itemsService;
     _propertyService = propertyService;
     _blobUrlResolver = blobUrlResolver;
     _catalogService = catalogService;
     _skuGenerator = skuGenerator;
 }
        public MerchandisingModuleCategoryController(ICatalogSearchService searchService, ICategoryService categoryService,
								  IPropertyService propertyService, IStoreService storeService, CacheManager cacheManager)
      
        {
			_storeService = storeService;
            _searchService = searchService;
            _categoryService = categoryService;
            _propertyService = propertyService;
			_cacheManager = cacheManager;
        }
        public CatalogModuleCategoriesController(ICatalogSearchService searchService, ICategoryService categoryService, IPropertyService propertyService, 
                                                 ICatalogService catalogService, IBlobUrlResolver blobUrlResolver, ISecurityService securityService, IPermissionScopeService permissionScopeService)
            :base(securityService, permissionScopeService)
        {
            _searchService = searchService;
            _categoryService = categoryService;
            _propertyService = propertyService;
            _catalogService = catalogService;
			_blobUrlResolver = blobUrlResolver;
        }
        public CatalogModuleCategoriesController(ICatalogSearchService searchService,
                                    ICategoryService categoryService,
									IPropertyService propertyService, ICatalogService catalogService, IBlobUrlResolver blobUrlResolver)
        {
            _searchService = searchService;
            _categoryService = categoryService;
            _propertyService = propertyService;
            _catalogService = catalogService;
			_blobUrlResolver = blobUrlResolver;
        }
Ejemplo n.º 15
0
		public CatalogExportImport(ICatalogSearchService catalogSearchService,
			ICatalogService catalogService, ICategoryService categoryService, IItemService itemService, 
			IPropertyService propertyService, IBlobStorageProvider blobStorageProvider)
		{
			_blobStorageProvider = blobStorageProvider;
			_catalogSearchService = catalogSearchService;
			_catalogService = catalogService;
			_categoryService = categoryService;
			_itemService = itemService;
			_propertyService = propertyService;
		}
Ejemplo n.º 16
0
		public ResourceServiceImpl(string resourceDirectory, IPropertyService propertyService)
		{
			if (resourceDirectory == null)
				throw new ArgumentNullException("resourceDirectory");
			if (propertyService == null)
				throw new ArgumentNullException("propertyService");
			
			this.resourceDirectory = resourceDirectory;
			this.propertyService = propertyService;
			propertyService.PropertyChanged += new PropertyChangedEventHandler(OnPropertyChange);
			LoadLanguageResources(this.Language);
		}
Ejemplo n.º 17
0
 public ModuleImporter(ICatalogService catalogService, ICategoryService categoryService, IItemService productService, 
     IBlobStorageProvider blobStorageProvider, IPushNotificationManager pushNotificationManager, 
     ICatalogSearchService searchService, IPropertyService propertyService, IItemService itemService)
 {
     _catalogService = catalogService;
     _categoryService = categoryService;
     _productService = productService;
     _pushNotificationManager = pushNotificationManager;
     _searchService = searchService;
     _blobStorageProvider = blobStorageProvider;
     _propertyService = propertyService;
     _itemService = itemService;
 }
 public CatalogItemIndexBuilder(ISearchProvider searchProvider, ICatalogSearchService catalogSearchService,
                                IItemService itemService, IPricingService pricingService,
                                IPropertyService propertyService,
                                IChangeLogService changeLogService, CatalogOutlineBuilder catalogOutlineBuilder)
 {
     _searchProvider = searchProvider;
     _itemService = itemService;
     _catalogSearchService = catalogSearchService;
     _pricingService = pricingService;
     _propertyService = propertyService;
     _changeLogService = changeLogService;
     _catalogOutlineBuilder = catalogOutlineBuilder;
 }
Ejemplo n.º 19
0
        public static ApplicationsController GetInitialisedApplicationsController(IApplicationService applicationService, IPropertyService propertyService)
        {
            var controller = new ApplicationsController(applicationService, propertyService)
            {
                Request = new HttpRequestMessage { RequestUri = new Uri(Url) },
                Configuration = new HttpConfiguration()
            };

            controller.Configuration.MapHttpAttributeRoutes();
            controller.Configuration.EnsureInitialized();

            return controller;
        }
		public MerchandisingModuleProductController(ICatalogSearchService searchService, ICategoryService categoryService,
								 IStoreService storeService, IItemService itemService, IBlobUrlResolver blobUrlResolver,
								 IBrowseFilterService browseFilterService, IItemBrowsingService browseService, CacheManager cacheManager, IPropertyService propertyService)
		{
			_itemService = itemService;
			_storeService = storeService;
			_searchService = searchService;
			_categoryService = categoryService;
			_blobUrlResolver = blobUrlResolver;
			_browseFilterService = browseFilterService;
			_browseService = browseService;
			_cacheManager = cacheManager;
			_propertyService = propertyService;
		}
Ejemplo n.º 21
0
        public LiveUpgradeService([ServiceDependency]WorkItem workItem, [ServiceDependency]IPropertyService propertyService)
        {
            this.workItem = workItem;
            this.propertyService = propertyService;

            LiveUpgradeConfigurationSection cs = ConfigurationManager.GetSection(LIVEUPGRADE_SECTION) as LiveUpgradeConfigurationSection;
            UpgradeSetting setting = GetSetting();
            if (cs != null && setting != null)
            {
                detecter = new UpgradeDetecter(this);
                if (setting.CheckInterval > 0) {
                    detecter.CheckInterval = setting.CheckInterval;
                    detecter.Start();
                }
            }
        }
Ejemplo n.º 22
0
		public CsvCatalogImporter(ICatalogService catalogService, ICategoryService categoryService, IItemService productService,
								IPushNotificationManager pushNotificationManager, ISkuGenerator skuGenerator,
								IPricingService pricingService, IInventoryService inventoryService, ICommerceService commerceService,
								IPropertyService propertyService, ICatalogSearchService searchService)
		{
			_catalogService = catalogService;
			_categoryService = categoryService;
			_productService = productService;
			_pushNotificationManager = pushNotificationManager;
			_skuGenerator = skuGenerator;
			_pricingService = pricingService;
			_inventoryService = inventoryService;
			_commerceService = commerceService;
			_propertyService = propertyService;
			_searchService = searchService;
		}
 public PropertyController(
     IOrchardServices services,
     IFormManager formManager,
     IShapeFactory shapeFactory,
     IProjectionManager projectionManager,
     IRepository<PropertyRecord> repository,
     IRepository<LayoutRecord> layoutRepository,
     IPropertyService propertyService,
     IQueryService queryService) {
     Services = services;
     _formManager = formManager;
     _projectionManager = projectionManager;
     _repository = repository;
     _layoutRepository = layoutRepository;
     _propertyService = propertyService;
     Shape = shapeFactory;
 }
 public SearchModuleController(ISearchProvider searchProvider, ISearchConnection searchConnection, SearchIndexJobsScheduler scheduler,
     IStoreService storeService, ISecurityService securityService, IPermissionScopeService permissionScopeService,
     IPropertyService propertyService, IBrowseFilterService browseFilterService, IItemBrowsingService browseService,
     IInventoryService inventoryService, IBlobUrlResolver blobUrlResolver, ICatalogSearchService catalogSearchService)
 {
     _searchProvider = searchProvider;
     _searchConnection = searchConnection;
     _scheduler = scheduler;
     _storeService = storeService;
     _securityService = securityService;
     _permissionScopeService = permissionScopeService;
     _propertyService = propertyService;
     _browseFilterService = browseFilterService;
     _browseService = browseService;
     _inventoryService = inventoryService;
     _blobUrlResolver = blobUrlResolver;
     _catalogSearchService = catalogSearchService;
 }
Ejemplo n.º 25
0
 public RequestsController(IPropertyService propertyService)
 {
     _propertyService = propertyService;
 }
Ejemplo n.º 26
0
 protected virtual bool Predicate(IPropertyService propertyService)
 {
     return(true);
 }
Ejemplo n.º 27
0
 public void DetachPropertyService(IPropertyService propertyService)
 {
     this.propertyServiceList.Remove(propertyService);
 }
Ejemplo n.º 28
0
 public NewsLetterController(IAgentService AgentService, ICustomerService CustomerService, IUserService UserService, IRoleService RoleService, IFormService FormService, IRoleDetailService RoleDetailService, IRoleService _RoleService, IUserRoleService UserroleService, IPropertyImageService PropertyImageService, IPropertyService PropertyService, ICompanyService CompanyService, IBrokerageServices BrokerageService, IBrokerageServiceServices BrokerageServiceServices, IBrokerageDetailServices BrokerageDetailServices, INewsLetterService NewsLetterService)
     : base(CustomerService, UserService, RoleService, FormService, RoleDetailService, UserroleService)
 {
     this._CompanyService           = CompanyService;
     this._PropertyService          = PropertyService;
     this._PropertyImageService     = PropertyImageService;
     this._CustomerService          = CustomerService;
     this._AgentService             = AgentService;
     this._BrokerageService         = BrokerageService;
     this._BrokerageServiceServices = BrokerageServiceServices;
     this._BrokerageDetailServices  = BrokerageDetailServices;
     this._NewsLetterService        = NewsLetterService;
 }
 public PropertyController(IPropertyService service)
 {
     _service = service;
 }
Ejemplo n.º 30
0
		/// <summary>
		/// Starts the core services.
		/// This initializes the PropertyService and ResourceService.
		/// </summary>
		public void StartCoreServices(IPropertyService propertyService)
		{
			var container = ServiceSingleton.GetRequiredService<IServiceContainer>();
			var applicationStateInfoService = new ApplicationStateInfoService();
			addInTree = new AddInTreeImpl(applicationStateInfoService);
			
			container.AddService(typeof(IPropertyService), propertyService);
			container.AddService(typeof(IResourceService), new ResourceServiceImpl(
				Path.Combine(propertyService.DataDirectory, "resources"), propertyService));
			container.AddService(typeof(IAddInTree), addInTree);
			container.AddService(typeof(ApplicationStateInfoService), applicationStateInfoService);
			StringParser.RegisterStringTagProvider(new AppNameProvider { appName = applicationName });
		}
 public PropertyImageApiController(IPropertyService PropertyService, ICustomerService CustomerService, IPropertyImageService PropertyImageService)
 {
     this._PropertyService      = PropertyService;
     this._CustomerService      = CustomerService;
     this._PropertyImageService = PropertyImageService;
 }
Ejemplo n.º 32
0
 public PropertiesController(IPropertyService propertyService, UserManager <ApplicationUser> userManager)
 {
     _propertyService = propertyService;
     _userManager     = userManager;
 }
        ISettings CreateSettings(IPropertyService propertyService, ISettingsFactory settingsFactory)
        {
            var settingsFileName = new ProjectTemplatePackagesSettingsFileName(propertyService);

            return(settingsFactory.CreateSettings(settingsFileName.Directory));
        }
 public ProjectTemplatePackagesSettingsFileName(IPropertyService propertyService)
 {
     directory = Path.Combine(propertyService.ConfigDirectory, "templates");
 }
Ejemplo n.º 35
0
 public FileSystem(IPropertyService propertyService)
 {
     property_service = propertyService;
 }
Ejemplo n.º 36
0
 public PropertyModel(IPropertyService propertyService)
 {
     PropertyService = propertyService;
 }
        PackageSource CreateDefaultPackageSource(IPropertyService propertyService)
        {
            var defaultPackageSource = new DefaultProjectTemplatePackageSource(propertyService);

            return(defaultPackageSource.PackageSource);
        }
Ejemplo n.º 38
0
 public PropertiesController(IPropertyService propertyService, ILogger logger, INotifier notifier) : base(logger, notifier)
 {
     _propertyService = propertyService;
 }
 public MerchandisingModuleProductController(ICatalogSearchService searchService, ICategoryService categoryService,
                                             IInventoryService inventoryService, IStoreService storeService, IItemService itemService, IBlobUrlResolver blobUrlResolver,
                                             IBrowseFilterService browseFilterService, IItemBrowsingService browseService, IPropertyService propertyService, ICommerceService commerceService,
                                             CacheManager cacheManager)
 {
     _itemService         = itemService;
     _storeService        = storeService;
     _searchService       = searchService;
     _categoryService     = categoryService;
     _blobUrlResolver     = blobUrlResolver;
     _browseFilterService = browseFilterService;
     _browseService       = browseService;
     _propertyService     = propertyService;
     _commerceService     = commerceService;
     _inventoryService    = inventoryService;
     _cacheManager        = cacheManager;
 }
 public RegisteredProjectTemplatePackageSources(
     IPropertyService propertyService,
     ISettingsFactory settingsFactory)
 {
     GetRegisteredPackageSources(propertyService, settingsFactory);
 }
Ejemplo n.º 41
0
 public ProductsController(IProductServices productServices, IProductLookupService productlookupServices, ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices, IUserService userService, IActivityServices activityServices, ITenantsServices tenantServices)
     : base(orderService, propertyService, accountServices, lookupServices)
 {
     _userService           = userService;
     _activityServices      = activityServices;
     _tenantServices        = tenantServices;
     _productlookupServices = productlookupServices;
     _lookupServices        = lookupServices;
     _productServices       = productServices;
 }
Ejemplo n.º 42
0
 public void AttachPropertyService(IPropertyService propertyService)
 {
     this.propertyServiceList.Add(propertyService);
 }
Ejemplo n.º 43
0
 public ExperienceController(IPropertyService propertyService)
 {
     this._propertyService = propertyService;
 }
Ejemplo n.º 44
0
 public ScanSourceProductController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices)
     : base(orderService, propertyService, accountServices, lookupServices)
 {
     _importFactory = new DataImportFactory();
 }
		public DefaultProjectTemplatePackageSource(IPropertyService propertyService)
		{
			CreatePackageSource(propertyService.DataDirectory);
		}
Ejemplo n.º 46
0
 public ProductCodesController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices, IProductServices productService)
     : base(orderService, propertyService, accountServices, lookupServices)
 {
     ProductService = productService;
 }
Ejemplo n.º 47
0
 public LoanController(IPropertyService propertyService, IBorrowerService borrowerService, ILoanService loanService)
 {
     _propertyService = propertyService;
     _borrowerService = borrowerService;
     _loanService     = loanService;
 }
Ejemplo n.º 48
0
 public ActivityController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices, IActivityServices activityServices)
     : base(orderService, propertyService, accountServices, lookupServices)
 {
     _activityServices = activityServices;
 }
		public ProjectTemplatePackagesSettingsFileName(IPropertyService propertyService)
		{
			directory = Path.Combine(propertyService.ConfigDirectory, "templates");
		}
Ejemplo n.º 50
0
 public PropertiesController(IConnectionManagementService Connection, IPropertyService Properties)
 {
     _Connection = Connection;
     _Properties = Properties;
 }
Ejemplo n.º 51
0
 public PropertyController(IPropertyService propertyService)
 {
     _propertyService = propertyService;
 }
 public PLandlordsController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices) : base(orderService, propertyService, accountServices, lookupServices)
 {
 }
 public TenantDataImportController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, IProductLookupService productLookupService, ILookupServices lookupServices)
     : base(orderService, propertyService, accountServices, lookupServices)
 {
     _importFactory        = new DataImportFactory();
     _productLookupService = productLookupService;
 }
 public PropertyController(IPropertyService propertyService)
 {
     _propertyService = propertyService;
 }
 public TenantsController(IPropertyService propertyService)
 {
     _propertyService = propertyService;
 }
 public DefaultProjectTemplatePackageSource(IPropertyService propertyService)
 {
     CreatePackageSource(propertyService.DataDirectory);
 }