Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (!(obj is UserThread))
            {
                return(false);
            }
            UserThread thread = (UserThread)obj;

            return(((thread.dwTid == this.dwTid) && (thread.pSidBuffer == this.pSidBuffer)) && (thread.dwSidLen == this.dwSidLen));
        }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (!(obj is UserThread))
            {
                return(false);
            }

            UserThread ut = (UserThread)obj;

            if (ut.dwTid == this.dwTid &&
                ut.pSidBuffer == this.pSidBuffer &&
                ut.dwSidLen == this.dwSidLen)
            {
                return(true);
            }

            return(false);
        }
Exemplo n.º 3
0
 void INotifySource2.SetNotifyFilter(NotifyFilter in_NotifyFilter, UserThread in_pUserThreadFilter) {
     notifyFilter = in_NotifyFilter;
     userThread = in_pUserThreadFilter;
 }