public override void Run() { var logger = new Logger(); var app = new WebService( new Authenticator( new Logger(), new ErrorHandler( logger ), new Database( new Logger(), new ErrorHandler( logger ) ) ), new StockQuote( new Logger(), new ErrorHandler( logger ), new Database( new Logger(), new ErrorHandler( logger ) ) ) ); app.Execute(); }
public override void Run() { var app = new WebService(authenticator, stockQuote); app.Execute(); }