Esempio n. 1
0
        public virtual bool Equals(InteropObject other)
        {
            if (null == other)
            {
                return(false);
            }

            if (PInvokeUtil.IsNull(this.mSelfPointer))
            {
                return(PInvokeUtil.IsNull(other.mSelfPointer));
            }

            return(mSelfPointer.Handle == other.mSelfPointer.Handle && this.mIsDisposed == other.mIsDisposed);
        }
Esempio n. 2
0
 public bool HasSamePointerWith(InteropObject other)
 {
     return(other != null && this.ToPointer().Equals(other.ToPointer()));
 }