Esempio n. 1
0
        public override bool Equals(object obj)
        {
            Bit16Int dest = (Bit16Int)obj;

            return((dest._High == this._High) && (dest._Low == this._Low) &&
                   (dest._StringLength == this._StringLength) && (dest._Sum == this._Sum));
        }
Esempio n. 2
0
 public int GetHashCode(Bit16Int obj)
 {
     return(obj.GetHashCode());
 }
Esempio n. 3
0
 public bool Equals(Bit16Int x, Bit16Int y)
 {
     return(x.Equals(y));
 }
Esempio n. 4
0
 public bool Remove(Bit16Int key)
 {
     return(_Dict.Remove(key));
 }
Esempio n. 5
0
 public void Add(string key, T value, out Bit16Int md5Key)
 {
     md5Key = MD5(key);
     _Dict.Add(md5Key, value);
 }
Esempio n. 6
0
        public string GetMD5String(string key)
        {
            Bit16Int bit16Int = _Dict.MD5(key);

            return(bit16Int.ToString());
        }