public override bool Equals(Object o) { if (this == o) { return(true); } if (!(o is HeaderStub)) { return(false); } HeaderStub that = (HeaderStub)o; if (!this.receiver.Equals(that.receiver)) { return(false); } if (!this.documentType.Equals(that.documentType)) { return(false); } return(this.process.Equals(that.process)); }