Esempio n. 1
0
 static DummyResponse()
 {
     DummyLink = new ExampleLink {ContentType = "application/xml", Rel = "re-value", Uri = "http://localhost/1"};
     DummyForm = new ExampleForm {Id = "form-id", ContentType = "application/xml", Method = "post", Uri = "http://localhost/form"};
     DummyEntityBody = new ExampleEntityBody {Id = 5, Form = DummyForm, Link = DummyLink};
 }
 public bool Equals(ExampleLink other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Rel, Rel) && Equals(other.Uri, Uri) && Equals(other.ContentType, ContentType);
 }