public static void Statistics(ProjectionsManager manager, string[] commandArgs) { var nameAndCredentials = GetProjectionNameAndCredentials(commandArgs); if (nameAndCredentials == null) { Log("Invalid arguments, should be: <projection-name> [<login> <password>]."); return; } var name = nameAndCredentials.Item1; Log("{0}'s statistics :", name); LogUnformatted(manager.GetStatisticsAsync(name, nameAndCredentials.Item2).Result); }