Esempio n. 1
0
        public override bool Equals(
            object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            DHKeyParameters other = obj as DHKeyParameters;

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

            return(Equals(other));
        }
Esempio n. 2
0
 protected bool Equals(
     DHKeyParameters other)
 {
     return(Platform.Equals(parameters, other.parameters) &&
            base.Equals(other));
 }