Exemple #1
0
 private int FoldersCountRequest()
 {
     return(HttpUtil.GetItemAsync <int>("Folders/$count", GetToken).GetResult());
 }
Exemple #2
0
 internal T GetItem <T>(string uri)
 {
     return(HttpUtil.GetItemAsync <T>(uri, GetToken).GetResult());
 }
Exemple #3
0
        private int MailCountRequest(string folderId)
        {
            string uri = string.Format("Folders/{0}/Messages/$count", folderId);

            return(HttpUtil.GetItemAsync <int>(uri, GetToken).GetResult());
        }
 internal static T GetItem <T>(string uri)
 {
     return(HttpUtil.GetItemAsync <T>(uri).GetResult());
 }