Esempio n. 1
0
        public AnnouncementInvoker()
        {
            OTConfiguration.Configure <OTUnityConfig>();
            OTConfiguration.Configure <OTCacheConfig>();

            _suggestionService = new Lazy <ISuggestionService>(() => new OTChannelFactory <Suggestion>().CreateChannel <ISuggestionService>());
        }
Esempio n. 2
0
        public HelpdeskInvoker()
        {
            OTConfiguration.Configure <OTUnityConfig>();
            OTConfiguration.Configure <OTCacheConfig>();

            _helpdeskRequestService = new Lazy <IHelpdeskRequestService>(() => new OTChannelFactory <HelpdeskRequest>().CreateChannel <IHelpdeskRequestService>());
        }
Esempio n. 3
0
        public AccountingInvoker()
        {
            OTConfiguration.Configure <OTUnityConfig>();
            OTConfiguration.Configure <OTCacheConfig>();

            _saleInvoiceService = new Lazy <ISaleInvoiceService>(() => new OTChannelFactory <SaleInvoice>().CreateChannel <ISaleInvoiceService>());
        }
Esempio n. 4
0
        public OverStoreMainInvoker()
        {
            OTConfiguration.Configure <OTUnityConfig>();
            OTConfiguration.Configure <OTCacheConfig>();

            _taskService = new Lazy <IOverStoreTaskService>(() => new OTChannelFactory <OverStoreTask>().CreateChannel <IOverStoreTaskService>());
        }
Esempio n. 5
0
        public WarehouseInvoker()
        {
            OTConfiguration.Configure <OTUnityConfig>();
            OTConfiguration.Configure <OTCacheConfig>();

            _productReturnService   = new Lazy <IProductReturnService>(() => new OTChannelFactory <ProductReturn>().CreateChannel <IProductReturnService>());
            _transferProductService = new Lazy <ITransferProductService>(() => new OTChannelFactory <TransferProduct>().CreateChannel <ITransferProductService>());
            _productionOrderService = new Lazy <IProductionOrderService>(() => new OTChannelFactory <ProductionOrder>().CreateChannel <IProductionOrderService>());
        }