public void FollowLink(String uri) { _representation = ResourceRequester.PerformRequest(uri); }
public void FollowLink() { var link = _representation.JsonValue["_links"]["blogPosts"]; _representation = ResourceRequester.PerformRequest(link.Value<string>("href")); }
public void FollowLink(JObject resource) { _representation = ResourceRequester.PerformRequest(resource["_links"]["self"].Value<string>("href")); }
public ApiProxy(ApiFormat format) { _resourceRequester = new ResourceRequester(format, "http://localhost"); _representation = ResourceRequester.PerformRequest("/api"); }