/// <summary> /// Two DnsResourceDataTransactionSignature are equal iff their algorithm time signed, fudge, message authentication code, original ID, error /// and other fields are equal. /// </summary> public bool Equals(DnsResourceDataTransactionSignature other) { return(other != null && Algorithm.Equals(other.Algorithm) && TimeSigned.Equals(other.TimeSigned) && Fudge.Equals(other.Fudge) && MessageAuthenticationCode.Equals(other.MessageAuthenticationCode) && OriginalId.Equals(other.OriginalId) && Error.Equals(other.Error) && Other.Equals(other.Other)); }
/// <summary> /// 生成自定义数据,放入购物车 /// </summary> /// <returns></returns> public virtual string GetTagData() { return(OriginalId.ToString()); }
public override int GetHashCode() { return((IdWithMotif != null ? IdWithMotif.GetHashCode() : OriginalId.GetHashCode()) ^ ModificationType.GetHashCode()); }