Exemplo n.º 1
0
        public PriceServiceHostFactory()
        {
            var priceSource = new PriceSource();

            Log.Info("Started Generator");

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

            _cleanup.Add(priceSource);
        }
Exemplo n.º 2
0
 public PricingService(PriceSource source)
 {
     _source = source;
 }