/// <summary> /// /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { RawDevice rawDevice = obj as RawDevice; if (ReferenceEquals(rawDevice, null)) { return(false); } return(hDevice == rawDevice.hDevice); }
/// <summary> /// /// </summary> /// <param name="left"></param> /// <param name="right"></param> /// <returns></returns> public static bool Equals(RawDevice left, RawDevice right) // CLS-compliant. { return(left == right); }
// CLS-compliant. /// <summary> /// /// </summary> /// <param name="left"></param> /// <param name="right"></param> /// <returns></returns> public static bool Equals(RawDevice left, RawDevice right) { return left == right; }