Esempio n. 1
0
 public Link()
 {
     Method              = HttpMethod.Get;
     Relation            = LinkHelper.GetLinkRelationTypeName(GetType());
     _httpRequestBuilder = new DefaultRequestBuilder();
 }
Esempio n. 2
0
 /// <summary>
 /// Create an instance of a link.
 /// </summary>
 /// <remarks>
 /// The empty constructor makes it easier for deserializers to create links.
 /// </remarks>
 public Link() : base()
 {
     Method   = HttpMethod.Get;
     Relation = LinkHelper.GetLinkRelationTypeName(GetType());
 }