public virtual bool Equals(IPostParameter other) { var eq = other as PostParameter; if (eq == null) { return(false); } return(Name == other.Name && Value == eq.Value); }
public override bool Equals(IPostParameter obj) { var parameter = obj as BytePostParameter; if (parameter == null) { return(false); } var v = (byte[])Value; return(Name == obj.Name && v.SequenceEqual((byte[])parameter.Value)); }