예제 #1
0
        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);
        }
예제 #2
0
        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();
        }