Inheritance: IPricingService
        public PriceServiceHostFactory()
        {
            var priceSource = new PriceSource();
            Log.Information("Started Generator");

            _service = new PricingService(priceSource);
            Log.Information("Started Service");

            _cleanup.Add(priceSource);
        }
コード例 #2
0
        public PriceServiceHostFactory()
        {
            var priceSource = new PriceSource();

            Log.Info("Started Generator");

            _service = new PricingService(priceSource);
            Log.Info("Started Service");

            _cleanup.Add(priceSource);
        }