コード例 #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));
        }
コード例 #2
0
 public int GetHashCode(Bit16Int obj)
 {
     return(obj.GetHashCode());
 }
コード例 #3
0
 public bool Equals(Bit16Int x, Bit16Int y)
 {
     return(x.Equals(y));
 }
コード例 #4
0
 public bool Remove(Bit16Int key)
 {
     return(_Dict.Remove(key));
 }
コード例 #5
0
 public void Add(string key, T value, out Bit16Int md5Key)
 {
     md5Key = MD5(key);
     _Dict.Add(md5Key, value);
 }
コード例 #6
0
ファイル: Cache.cs プロジェクト: wj60387/hubble
        public string GetMD5String(string key)
        {
            Bit16Int bit16Int = _Dict.MD5(key);

            return(bit16Int.ToString());
        }