static void Main(string[] args) { var stub = new Stub(); var http = new ViaHttp(); var tcp = new ViaTcp(); var udp = new ViaHttp(); http.Configure(); udp.Configure(); tcp.Configure(); Log.Information("Simulation running, press any key to exit."); stub.Run(); Console.ReadLine(); }
static void Main(string[] args) { var stub = new Stub(); var http = new ViaHttp(); var tcp = new ViaTcp(); var udp = new ViaHttp(); http.Configure(); udp.Configure(); tcp.Configure(); Log.Information("Simulation running, press any key to exit."); stub.Run(); Console.ReadLine(); }