B2CGraphShell.Program.DeleteUser C# (CSharp) Метод

DeleteUser() приватный статический Метод

private static DeleteUser ( string args ) : void
args string
Результат void
        private static void DeleteUser(string[] args)
        {
            if (args.Length <= 1)
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("Please include an objectId.  Run B2CGraphShell Syntax to see examples.");
                Console.ForegroundColor = init;
                return;
            }

            object formatted = JsonConvert.DeserializeObject(client.DeleteUser(args[1]).Result);
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine(JsonConvert.SerializeObject(formatted, Formatting.Indented));
        }