Exemplo n.º 1
0
        public override object Clone()
        {
            FuzzyHash fh = new FuzzyHash(defaultValue);
            object    Value;

            foreach (object Key in fh.Keys)
            {
                Value = fh[Key];
                fh.Add(Dup(Key), Dup(Value));
            }
            return(fh);
        }
Exemplo n.º 2
0
        public override void Clone(FuzzyObject source)
        {
            base.Clone(source);
            FuzzyHash S = source as FuzzyHash;

            if (S != null)
            {
                Clear();
                foreach (object key in S.Keys)
                {
                    Add(Dup(key), Dup(S[key]));
                }
            }
        }
Exemplo n.º 3
0
 public FuzzyHashDebugView(FuzzyHash hashtable)
 {
     this.hashtable = hashtable;
 }