public void Run() { Console.WriteLine("write calculator or cake: "); while (true) { var choose = Console.ReadLine(); if (choose == "cake") { var mainApplication = new ByTheCakeApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Start(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); break; } else if (choose == "calculator") { var mainApplication = new MainApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Start(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); break; } else { Console.WriteLine("write calculator or cake: "); } } }
public void Run() { var appRouteConfig = new AppRouteConfig(); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
public void Run() { IAppRouteConfig routeConfig = new AppRouteConfig(); this.webServer = new WebServer(1337, routeConfig); this.webServer.Run(); }
public void Run() { IApplication application = new MainApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); application.Configurate(routeConfig); this.server = new MyWebServer(1337, routeConfig); this.server.Run(); }
public void Run() { IApplication app = new ByTheCakeApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Configure(routeConfig); this.webserver = new WebServer(1337, routeConfig); this.webserver.Run(); }
public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Start(routeConfig); this.webServer = new WebServer(8230, routeConfig); this.webServer.Run(); }
public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Start(routeConfig); var webServer = new Server.WebServer(1337, routeConfig); webServer.Run(); }
public static void Main() { IAppRouteConfig appConfig = new AppRouteConfig(); Configure(appConfig); var launcher = new Launcher(); launcher.Run(); }
public void Run() { IApplication app = new MainApplication(); IAppRouteConfig config = new AppRouteConfig(); app.Start(config); this.server = new WebServer(8230, config); this.server.Run(); }
public void Run() { var mainApplication = new MainApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
public void Run() { IApplication app = new CalculatorApp(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Start(routeConfig); this.webServer = new WebServer(Port, routeConfig); this.webServer.Run(); }
public void Run() { IApplication app = new MainApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Start(routeConfig); this.webServer = new Server.WebServer(8230, routeConfig); this.webServer.Run(); }
public void Run() { var app = new MainApplication(); var routeConfig = new AppRouteConfig(); app.Start(routeConfig); _webServer = new Server.WebServer(port: 8230, appRouteConfig: routeConfig); _webServer.Run(); }
public void Run() { GameStoreApp gameStoreApp = new GameStoreApp(); gameStoreApp.InitializeDatabase(); AppRouteConfig appRouteConfig = new AppRouteConfig(); gameStoreApp.Configure(appRouteConfig); WebServer webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
static void Run(string[] args) { var mainApplication = new ByTheCakeApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var server = new WebServer(8000, appRouteConfig); server.Run(); }
public void Run() { var mainApplication = new ByTheCakeApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Start(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
public void Run() { ByTheCakeApp mainApplication = new ByTheCakeApp(); AppRouteConfig appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); WebServer webServer = new WebServer(Port, appRouteConfig); webServer.Run(); }
static void Main(string[] args) { var mainApplication = new MainApplication(); var appRouteConfig = new AppRouteConfig(); mainApplication.Start(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
static void Run(string[] args) { IApplication app = new MainApplication(); var appRouteConfig = new AppRouteConfig(); app.Configure(appRouteConfig); var server = new WebServer(8000, appRouteConfig); server.Run(); }
public void Run() { MainApplication mainApplication = new MainApplication(); AppRouteConfig appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); WebServer webServer = new WebServer(Port, appRouteConfig); webServer.Run(); }
public void Run() { var mainApplication = new MainApplication(); var routeConfig = new AppRouteConfig(); mainApplication.Configure(routeConfig); var webServer = new WebServer(8230, routeConfig); webServer.Run(); }
public void Run() { IApplication app = new ByTheCakeApplication.ByTheCakeApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Start(routeConfig); this.webServer = new WebServer(8457, routeConfig); this.webServer.Run(); }
public void Run() { var app = new ByTheCakeApplication(); app.InitializeDatabase(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Configure(routeConfig); this.webserver = new WebServer(1337, routeConfig); this.webserver.Run(); }
public void Run() { IAplication app = new MainApplication(); IAppRouteConfig routeConfig = new AppRouteConfig(); app.Start(routeConfig); var webServer = new WebServerClass(1337, routeConfig); webServer.Run(); }
public void Run() { var mainApplication = new GameStoreApp(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new Server.WebServer(Port, appRouteConfig); webServer.Run(); }
static void Run(string[] args) { var application = new GameStoreApp(); var appRouteConfig = new AppRouteConfig(); application.Configure(appRouteConfig); var server = new WebServer(8000, appRouteConfig); server.Run(); }
public void Run() { var mainApplication = new GameStoreApplication(); mainApplication.InitializeDatabase(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(1337, appRouteConfig); webServer.Run(); }
public void Run() { var mainApplication = new ByTheCakeApp(); mainApplication.InitializeDatabase(); var appRouteConfig = new AppRouteConfig(); mainApplication.Configure(appRouteConfig); var webServer = new WebServer(port, appRouteConfig); webServer.Run(); }
public void Run() { //IApplication app = new MainApplication(); //IApplication app = new ByTheCakeMainApp(); IApplication app = new MainApplication(); IAppRouteConfig appRouteConfig = new AppRouteConfig(); app.Start(appRouteConfig); this.webServer = new WebServer(1333, appRouteConfig); this.webServer.Run(); }
public void Run() { var appRouteConfig = new AppRouteConfig(); var application = new ByTheCakeApplication(); application.InitializeDatabase(); application.Configure(appRouteConfig); this.webServer = new WebServer(8230, appRouteConfig); this.webServer.Run(); }