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

            return(response.Content);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 4
0
        public BasecampRequest GetRequestForAction(string action)
        {
            var request = new BasecampRequest(this, action);

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

            return(request);
        }