Ejemplo n.º 1
0
        static async Task Main()
        {
            var stockConfig = StockConfig.FromJson();

            var stockMarketFacade  = new StockMarketFacade(stockConfig);
            var corrier            = new Courrier();
            var StockMarketService = new StockMarketService(stockMarketFacade, corrier);

            await StockMarketService.Monitoring();
        }
Ejemplo n.º 2
0
 public StockMarketFacade(StockConfig strockConfig) => this._strockConfig = strockConfig;