Inheritance: GETDownloader
コード例 #1
0
        public void Refresh()
        {
            NetworkCredential nc = CoreServices.Instance.Credentials;
            string request = CoreServices.Instance.ServiceHost + "Messages/?username="******"&password="******"&box=" + _box.ToString() + "&page=1";

            XMLDownloader download = new XMLDownloader(request, GetMessagesCallback);
        }
コード例 #2
0
        public void Refresh()
        {
            string request;

            request = CoreServices.Instance.ServiceHost + "/stories/" + _story + ".xml";

            XMLDownloader download = new XMLDownloader(request, GetStoryDetailCallback);
        }
コード例 #3
0
 public void Refresh()
 {
     if (CoreServices.Instance.LoginVerified)
     {
         string request = CoreServices.Instance.ServiceHost + "Search/?Author=" + CoreServices.Instance.Credentials.UserName;
         XMLDownloader download = new XMLDownloader(request, GetCommentsCallback);
     }
 }
コード例 #4
0
        public void Refresh()
        {
            string request;

            if (_story == 0)
            {
                request = CoreServices.Instance.ServiceHost + "index.xml";
            }
            else
            {
                if (_page == 0)
                {
                    request = CoreServices.Instance.ServiceHost + _story + ".xml";
                }
                else
                {
                    request = CoreServices.Instance.ServiceHost + _story + "." + _page + ".xml";
                }
            }

            XMLDownloader download = new XMLDownloader(request, GetCommentsCallback);
        }
コード例 #5
0
 public void Refresh()
 {
     string request = CoreServices.Instance.ServiceHost + "Search/?" + _search;
     XMLDownloader download = new XMLDownloader(request, GetCommentsCallback);
 }
コード例 #6
0
        public void Refresh()
        {
            string request = CoreServices.Instance.ServiceHost + "thread/" + _id + ".xml";

            XMLDownloader download = new XMLDownloader(request, GetCommentsCallback);
        }