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

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

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

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