Esempio n. 1
0
        public T Get <T>(string action)
        {
            var request  = new BasecampRequest(this, action);
            var response = request.GetResponse <T>();

            return(response.Content);
        }
Esempio n. 2
0
        public T GetResponseFromUrl <T>(string absoluteUrl)
        {
            var request  = new BasecampRequest(this, new Uri(absoluteUrl));
            var response = request.GetResponse <T>();

            return(response.Content);
        }
Esempio n. 3
0
        //public CommentManager Comments { get; private set; }
        //public DocumentManager Documents { get; private set; }

        public BasecampRequest GetRequest()
        {
            var request = new BasecampRequest(this);

            return(request);
        }
Esempio n. 4
0
        public BasecampRequest GetRequestForAction(string action)
        {
            var request = new BasecampRequest(this, action);

            return(request);
        }
Esempio n. 5
0
        public BasecampRequest GetRequest(string absoluteUrl)
        {
            var request = new BasecampRequest(this, new Uri(absoluteUrl));

            return(request);
        }