Пример #1
0
        public override bool Equals(
            object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            DsaPrivateKeyParameters other = obj as DsaPrivateKeyParameters;

            if (other == null)
            {
                return(false);
            }

            return(Equals(other));
        }
Пример #2
0
 protected bool Equals(
     DsaPrivateKeyParameters other)
 {
     return(x.Equals(other.x) && base.Equals(other));
 }