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

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

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

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

            return(request);
        }
Example #4
0
        public BasecampRequest GetRequestForAction(string action)
        {
            var request = new BasecampRequest(this, action);

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

            return(request);
        }