Example #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(ExampleForm other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Id, Id) && Equals(other.Uri, Uri) && Equals(other.Method, Method) && Equals(other.ContentType, ContentType);
 }