Beispiel #1
0
        public static Task <int> Main(string[] args)
        {
            var parser = new CommandLineBuilder()
                         .AddCommand(CollectCommandHandler.CollectCommand())
                         .AddCommand(ProcessStatusCommandHandler.ProcessStatusCommand("Lists the dotnet processes that gcdumps can be collected"))
                         .UseDefaults()
                         .Build();

            return(parser.InvokeAsync(args));
        }
Beispiel #2
0
        public static Task <int> Main(string[] args)
        {
            var parser = new CommandLineBuilder()
                         .AddCommand(CollectCommandHandler.CollectCommand())
                         .AddCommand(ListProcessesCommandHandler.ProcessStatusCommand())
                         .UseDefaults()
                         .Build();

            return(parser.InvokeAsync(args));
        }