Example #1
0
        protected virtual void CopyTo(DictionaryObject other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            if (other == this)
            {
                return;
            }

            foreach (var kv in DictionaryObjectProperties)
            {
                other.DictionaryObjectProperties[kv.Key] = kv.Value;
            }
        }
Example #2
0
 public ObjectComparer(DictionaryObject dob)
 {
     _dob = dob;
 }