コード例 #1
0
        public async Task GetAddressBook()
        {
            ApiResponse response = await AddressBookApi.GetAddressBook();

            Assert.IsFalse(response.HasError);
            List <AddressBookInfo> result = response.GetResult <List <AddressBookInfo> >();

            Assert.IsNotNull(result);
        }
コード例 #2
0
        public Result <List <AddressBookInfo> > GetAddressBook()
        {
            ApiResponse response = AddressBookApi.GetAddressBook().Result;

            return(GetResult <List <AddressBookInfo> >(response));
        }