OpenTK.Platform.Windows.WinWindowInfo.Equals C# (CSharp) Method

Equals() public method

Checks if this and obj reference the same win32 window.
public Equals ( object obj ) : bool
obj object The object to check against.
return bool
        public override bool Equals(object obj)
        {
            if (obj == null) return false;
            if (this.GetType() != obj.GetType()) return false;
            WinWindowInfo info = (WinWindowInfo)obj; 

            if (info == null) return false;
            // TODO: Assumes windows will always have unique handles.
            return handle.Equals(info.handle);
        }