Пример #1
0
        public bool Equals(GenericObject <T> other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other.Value == null)
            {
                return(false);
            }

            return(Value.Equals(other.Value));
        }
 public bool Remove(GenericObject <T> item)
 {
     return(_values.Remove(item));
 }
 public bool Contains(GenericObject <T> item)
 {
     return(_values.Contains(item));
 }
 public void Add(GenericObject <T> item)
 {
     _values.Add(item);
 }