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)); }
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); }
void INotifySource2.SetNotifyFilter(NotifyFilter in_NotifyFilter, UserThread in_pUserThreadFilter) { notifyFilter = in_NotifyFilter; userThread = in_pUserThreadFilter; }