public bool Equals(RpcRejectedReplyHeader other) { if (other == null) { return(false); } return(other.Status == Status && object.Equals(other.MismatchInfo, MismatchInfo) && other.AuthenticationStatus == AuthenticationStatus); }
public RpcReplyHeader(XdrDataReader reader) { Status = (RpcReplyStatus)reader.ReadInt32(); if (Status == RpcReplyStatus.Accepted) { AcceptReply = new RpcAcceptedReplyHeader(reader); } else { RejectedReply = new RpcRejectedReplyHeader(reader); } }