private static async Task RunAsync(String pcapFilePath) { Console.Error.WriteLine(pcapFilePath); var lb = new LoadBalancerCliOptions { Uri = new Uri(pcapFilePath), DevnullRepository = true, Offline = true }; await LoadBalancerProgram.RunOptionsAndReturnExitCodeAsync(lb).ConfigureAwait(false); }
private static void Run(String pcapFilePath) { Console.Error.WriteLine(pcapFilePath); var lb = new LoadBalancerCliOptions { Uri = new Uri(pcapFilePath), DevnullRepository = true, Offline = true }; LoadBalancerProgram.RunOptionsAndReturnExitCodeAsync(lb).Wait(); }