public static void Run(string[] args) { var options = new ServerOptions(); if (!Parser.Default.ParseArguments(args, options)) { Environment.Exit(1); } var workerServer = new QpsWorker(options); workerServer.Run(); }
public static void Main(string[] args) { QpsWorker.Run(args); }
public static void Run(string[] args) { var options = new ServerOptions(); if (!Parser.Default.ParseArguments(args, options)) { Environment.Exit(1); } var workerServer = new QpsWorker(options); workerServer.Run(); }