コード例 #1
0
        public void GetStandardAttributes_Successful()
        {
            var attributes = service.GetStandardAttributes();

            Assert.IsNotEmpty(attributes);
            foreach (var attribute in attributes)
            {
                Assert.NotNull(attribute.Title);
                Assert.NotNull(attribute.Intention);
            }
        }
コード例 #2
0
        private static IList <StandardAttribute> TestGetStandardAttributes(VenueServiceApi venueServiceApi)
        {
            Console.WriteLine();
            Console.WriteLine(" ========================================================== ");
            Console.WriteLine(" Test: Get standard attributes ");
            Console.WriteLine(" ========================================================== ");
            var standardAttributes = venueServiceApi.GetStandardAttributes();

            foreach (var a in standardAttributes)
            {
                Console.WriteLine($"{a.title} - {a.intention}");
            }

            return(standardAttributes);
        }