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

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

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

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

            _taskService = new Lazy <IOverStoreTaskService>(() => new OTChannelFactory <OverStoreTask>().CreateChannel <IOverStoreTaskService>());
        }
Exemplo 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>());
        }