示例#1
0
        public static async Task GetNames()
        {
            var nameManager = new NameManager(_webManager);
            var result      = await nameManager.GetNamesAsync();

            Console.WriteLine($"First Generated Name: {result.Data.Names.First()}");

            var validResult = await nameManager.ValidateNameAsync(result.Data.Names.First());

            Console.WriteLine($"Is Valid: {validResult.Data.Ok} ");
        }