Ejemplo n.º 1
0
        public int GetHashCode(TimeArg <I> obj)
        {
            if (obj.ForGroupMember == null)
            {
                return(obj.T.GetHashCode());
            }
            int hash = 17;

            hash = hash * 23 + obj.T.GetHashCode();
            hash = hash * 31 + obj.ForGroupMember.GetHashCode();
            return(hash);
        }
Ejemplo n.º 2
0
 public bool Equals(TimeArg <I> x, TimeArg <I> y)
 {
     return(Operator.Equal(x.T, y.T) && (x.ForGroupMember == y.ForGroupMember));
 }