public async Task <IEnumerable <ChangeLog> > GetChangeLogAsync( [Service] IChangeLogService service, [Parent] Component application, CancellationToken cancellationToken) { return(await service.GetByComponentId(application.Id, cancellationToken)); }
public OrderModuleController(ICustomerOrderService customerOrderService, ICustomerOrderSearchService searchService, IStoreService storeService , IUniqueNumberGenerator numberGenerator , IPlatformMemoryCache platformMemoryCache , Func <IOrderRepository> repositoryFactory //, IPermissionScopeService permissionScopeService //, ISecurityService securityService , ICustomerOrderBuilder customerOrderBuilder , IShoppingCartService cartService , INotificationSender notificationSender , IChangeLogService changeLogService, INotificationTemplateRenderer notificationTemplateRenderer) { _customerOrderService = customerOrderService; _searchService = searchService; _uniqueNumberGenerator = numberGenerator; _storeService = storeService; _platformMemoryCache = platformMemoryCache; _repositoryFactory = repositoryFactory; //_securityService = securityService; //_permissionScopeService = permissionScopeService; _customerOrderBuilder = customerOrderBuilder; _cartService = cartService; _notificationSender = notificationSender; _changeLogService = changeLogService; _notificationTemplateRenderer = notificationTemplateRenderer; }
public OrderModuleController( ICustomerOrderService customerOrderService, ICustomerOrderSearchService searchService, IStoreService storeService, IUniqueNumberGenerator numberGenerator, ICacheManager<object> cacheManager, Func<IOrderRepository> repositoryFactory, IPermissionScopeService permissionScopeService, ISecurityService securityService, ICustomerOrderBuilder customerOrderBuilder, IShoppingCartService cartService, INotificationManager notificationManager, INotificationTemplateResolver notificationTemplateResolver, IChangeLogService changeLogService, ICustomerOrderTotalsCalculator totalsCalculator) { _customerOrderService = customerOrderService; _searchService = searchService; _uniqueNumberGenerator = numberGenerator; _storeService = storeService; _cacheManager = cacheManager; _repositoryFactory = repositoryFactory; _securityService = securityService; _permissionScopeService = permissionScopeService; _customerOrderBuilder = customerOrderBuilder; _cartService = cartService; _notificationManager = notificationManager; _notificationTemplateResolver = notificationTemplateResolver; _changeLogService = changeLogService; _totalsCalculator = totalsCalculator; }
public CategoryIndexBuilder(ISearchProvider searchProvider, ICatalogSearchService catalogSearchService, ICategoryService categoryService, IChangeLogService changeLogService) { _searchProvider = searchProvider; _categoryService = categoryService; _catalogSearchService = catalogSearchService; _changeLogService = changeLogService; }
public QuoteRequestServiceImpl(Func<IQuoteRepository> quoteRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IDynamicPropertyService dynamicPropertyService, IEventPublisher<QuoteRequestChangeEvent> eventPublisher, IChangeLogService changeLogService) { _repositoryFactory = quoteRepositoryFactory; _uniqueNumberGenerator = uniqueNumberGenerator; _dynamicPropertyService = dynamicPropertyService; _eventPublisher = eventPublisher; _changeLogService = changeLogService; }
public QuoteRequestServiceImpl(Func <IQuoteRepository> quoteRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IDynamicPropertyService dynamicPropertyService, IEventPublisher <QuoteRequestChangeEvent> eventPublisher, IChangeLogService changeLogService) { _repositoryFactory = quoteRepositoryFactory; _uniqueNumberGenerator = uniqueNumberGenerator; _dynamicPropertyService = dynamicPropertyService; _eventPublisher = eventPublisher; _changeLogService = changeLogService; }
public LicenseService(Func <ILicenseRepository> licenseRepositoryFactory, IChangeLogService changeLogService, ISettingsManager settingsManager, IEventPublisher eventPublisher , IOptions <LicenseOptions> licenseOptions) { _licenseRepositoryFactory = licenseRepositoryFactory; _changeLogService = changeLogService; _settingsManager = settingsManager; _eventPublisher = eventPublisher; _licenseOptions = licenseOptions.Value; }
public CatalogItemIndexBuilder(ISearchProvider searchProvider, ICatalogSearchService catalogSearchService, IItemService itemService, IPricingService pricingService, IChangeLogService changeLogService) { _searchProvider = searchProvider; _itemService = itemService; _catalogSearchService = catalogSearchService; _pricingService = pricingService; _changeLogService = changeLogService; }
public CatalogItemIndexBuilder(ISearchProvider searchProvider, ICatalogSearchService catalogSearchService, IItemService itemService, IPricingService pricingService, IChangeLogService changeLogService) { _searchProvider = searchProvider; _itemService = itemService; _catalogSearchService = catalogSearchService; _pricingService = pricingService; _changeLogService = changeLogService; }
public ComponentService( IComponentStore componentStore, IDataLoader <Guid, Component> componentById, ISchemaService schemaService, IChangeLogService changeLogService) { _componentStore = componentStore; _componentById = componentById; _schemaService = schemaService; _changeLogService = changeLogService; }
public SecurityService(Func <IPlatformRepository> platformRepository, Func <ApplicationUserManager> userManagerFactory, IApiAccountProvider apiAccountProvider, IModuleCatalog moduleCatalog, IPermissionScopeService permissionScopeService, ICacheManager <object> cacheManager, IChangeLogService changeLogService) { _platformRepository = platformRepository; _userManagerFactory = userManagerFactory; _apiAccountProvider = apiAccountProvider; _cacheManager = cacheManager; _moduleCatalog = moduleCatalog; _permissionScopeService = permissionScopeService; _changeLogService = changeLogService; }
public SubscriptionServiceImpl(Func <ISubscriptionRepository> subscriptionRepositoryFactory, ICustomerOrderService customerOrderService, ICustomerOrderSearchService customerOrderSearchService, IStoreService storeService, IUniqueNumberGenerator uniqueNumberGenerator, IChangeLogService changeLogService, IEventPublisher eventPublisher) { _customerOrderSearchService = customerOrderSearchService; _subscriptionRepositoryFactory = subscriptionRepositoryFactory; _customerOrderService = customerOrderService; _storeService = storeService; _uniqueNumberGenerator = uniqueNumberGenerator; _changeLogService = changeLogService; _eventPublisher = eventPublisher; }
public VariableService( IVariableStore variableStore, IVariableValueStore variableValueStore, IChangeLogService changeLogService, IVariableCryptoProvider cryptoProvider) { _variableStore = variableStore; _variableValueStore = variableValueStore; _changeLogService = changeLogService; _cryptoProvider = cryptoProvider; }
public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IDynamicPropertyService dynamicPropertyService, IShippingMethodsService shippingMethodsService, IPaymentMethodsService paymentMethodsService, IStoreService storeService, IChangeLogService changeLogService, IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator) { RepositoryFactory = orderRepositoryFactory; UniqueNumberGenerator = uniqueNumberGenerator; EventPublisher = eventPublisher; DynamicPropertyService = dynamicPropertyService; ShippingMethodsService = shippingMethodsService; PaymentMethodsService = paymentMethodsService; StoreService = storeService; ChangeLogService = changeLogService; TotalsCalculator = totalsCalculator; }
public SubscriptionServiceImpl(Func <ISubscriptionRepository> subscriptionRepositoryFactory, ICustomerOrderService customerOrderService, ICustomerOrderSearchService customerOrderSearchService, IStoreService storeService, IUniqueNumberGenerator uniqueNumberGenerator, IChangeLogService changeLogService, IEventPublisher eventPublisher, IPlatformMemoryCache platformMemoryCache) { CustomerOrderSearchService = customerOrderSearchService; SubscriptionRepositoryFactory = subscriptionRepositoryFactory; CustomerOrderService = customerOrderService; StoreService = storeService; UniqueNumberGenerator = uniqueNumberGenerator; ChangeLogService = changeLogService; EventPublisher = eventPublisher; PlatformMemoryCache = platformMemoryCache; }
public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IEventPublisher <OrderChangeEvent> orderChangingPublisher, IDynamicPropertyService dynamicPropertyService, IShippingMethodsService shippingMethodsService, IPaymentMethodsService paymentMethodsService, IStoreService storeService, IChangeLogService changeLogService, IEventPublisher <OrderChangedEvent> orderChangedPublisher) { RepositoryFactory = orderRepositoryFactory; UniqueNumberGenerator = uniqueNumberGenerator; OrderChangingPublisher = orderChangingPublisher; OrderChangedPublisher = orderChangedPublisher; DynamicPropertyService = dynamicPropertyService; ShippingMethodsService = shippingMethodsService; PaymentMethodsService = paymentMethodsService; StoreService = storeService; ChangeLogService = changeLogService; }
public CustomerOrderServiceImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator , IDynamicPropertyService dynamicPropertyService, IStoreService storeService, IChangeLogService changeLogService , IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator , IShippingMethodsRegistrar shippingMethodsRegistrar, IPaymentMethodsRegistrar paymentMethodsRegistrar, IPlatformMemoryCache platformMemoryCache) { _repositoryFactory = orderRepositoryFactory; _eventPublisher = eventPublisher; _dynamicPropertyService = dynamicPropertyService; _storeService = storeService; _changeLogService = changeLogService; _totalsCalculator = totalsCalculator; _shippingMethodsRegistrar = shippingMethodsRegistrar; _paymentMethodsRegistrar = paymentMethodsRegistrar; _platformMemoryCache = platformMemoryCache; _uniqueNumberGenerator = uniqueNumberGenerator; }
public CustomerOrderService( Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator , IStoreService storeService, IChangeLogService changeLogService , IEventPublisher eventPublisher, ICustomerOrderTotalsCalculator totalsCalculator , IShippingMethodsSearchService shippingMethodsSearchService, IPaymentMethodsSearchService paymentMethodSearchService, IPlatformMemoryCache platformMemoryCache) { _repositoryFactory = orderRepositoryFactory; _eventPublisher = eventPublisher; _storeService = storeService; _totalsCalculator = totalsCalculator; _shippingMethodsSearchService = shippingMethodsSearchService; _paymentMethodSearchService = paymentMethodSearchService; _platformMemoryCache = platformMemoryCache; _uniqueNumberGenerator = uniqueNumberGenerator; }
public ApplicationService( IApplicationStore appStore, IChangeLogService changeLogService, IApplicationPartDataLoader applicationPartByIdDataLoader, IApplicationPartComponentDataLoader applicationPartComponentByIdDataloader, IComponentStore compStore, IDataLoader <Guid, Component> componentById, ISchemaService schemaService) { _appStore = appStore; _changeLogService = changeLogService; _applicationPartByIdDataLoader = applicationPartByIdDataLoader; _applicationPartByIdDataloaderDataLoader = applicationPartComponentByIdDataloader; _compStore = compStore; _schemaService = schemaService; _componentById = componentById; }
public async ValueTask <string?> GetValuesAsync( [Service] IChangeLogService changeLogService, [Parent] ApplicationPartComponent parent, int?version, CancellationToken cancellationToken) { if (version is null) { return(parent.Values); } ChangeLog?changelog = await changeLogService .GetByApplicationPartComponentIdAndVersion(parent.Id, version.Value, cancellationToken); return(changelog switch { { Change : ApplicationPartComponentValuesChange { Values : { } v } } => v,
public LogChangesUserChangedEventHandler(IChangeLogService changeLogService) { _changeLogService = changeLogService; }
public CustomerOrderServiceExtImpl(Func <IOrderRepository> orderRepositoryFactory, IUniqueNumberGenerator uniqueNumberGenerator, IEventPublisher <OrderChangeEvent> eventPublisher, IDynamicPropertyService dynamicPropertyService, IShippingMethodsService shippingMethodsService, IPaymentMethodsService paymentMethodsService, IStoreService storeService, IChangeLogService changelogService, ICustomerOrderSearchService orderSearchService) : base(orderRepositoryFactory, uniqueNumberGenerator, eventPublisher, dynamicPropertyService, shippingMethodsService, paymentMethodsService, storeService, changelogService) { _orderSearchService = orderSearchService; }
public ProductAvailabilityChangesProvider(IChangeLogService changeLogService, IInventoryService inventoryService) { _changeLogService = changeLogService; _inventoryService = inventoryService; }
public LogChangesChangedEventHandler(IChangeLogService changeLogService, ILastModifiedDateTime lastModifiedDateTime, ISettingsManager settingsManager) { _changeLogService = changeLogService; _lastModifiedDateTime = lastModifiedDateTime; _settingsManager = settingsManager; }
public ProductDocumentChangesProvider(Func <ICatalogRepository> catalogRepositoryFactory, IChangeLogService changeLogService) { _catalogRepositoryFactory = catalogRepositoryFactory; _changeLogService = changeLogService; }
public LogOrderChangesObserver(IChangeLogService changeLogService, IMemberService memberService) { _changeLogService = changeLogService; _memberService = memberService; }
public LogOrderChangesObserver(IChangeLogService changeLogService, IMemberService memberService, string[] observedProperties) : this(changeLogService, memberService) { }
public LogChangesSubscriptionChangedEventHandler(IChangeLogService changeLogService) { _changeLogService = changeLogService; }
public LogChangesOrderChangedEventHandler(IChangeLogService changeLogService, IMemberService memberService) { _changeLogService = changeLogService; _memberService = memberService; }
public async Task <IEnumerable <ChangeLog> > GetChangeLogAsync( [Service] IChangeLogService service, [Parent] ApplicationPart applicationPart, CancellationToken cancellationToken) => await service.GetByApplicationPartId(applicationPart.Id, cancellationToken);
public ProductPriceDocumentChangesProvider(IChangeLogService changeLogService, IPricingService pricingService) { _changeLogService = changeLogService; _pricingService = pricingService; }
public ChangeLogController(IChangeLogService changeLog) { _changeLog = changeLog; }