예제 #1
0
        public override int GetHashCode(Fingerprint fingerprint)
        {
            var hash = new Hash(base.GetHashCode(fingerprint));

            return(hash.Code);
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the Slot class that contains bit values
 /// copied from the specified Fingerprint.
 /// </summary>
 /// <param name="fingerprint">A Fingerprint object to copy from.</param>
 public Slot(Fingerprint fingerprint)
     : base(fingerprint)
 {
     AddRef();  // begin with 1
 }