public override bool Equals(Object o) { var other = o as GazeData; if (other != null) { return (State == other.State && TimeStamp == other.TimeStamp && RawCoordinates.Equals(other.RawCoordinates) && SmoothedCoordinates.Equals(other.SmoothedCoordinates) && LeftEye.Equals(other.LeftEye) && RightEye.Equals(other.RightEye) && IsFixated == other.IsFixated); } return(false); }
public override bool Equals(Object o) { if (ReferenceEquals(this, o)) { return(true); } if (!(o is GazeData)) { return(false); } var other = o as GazeData; return (State == other.State && RawCoordinates.Equals(other.RawCoordinates) && SmoothedCoordinates.Equals(other.SmoothedCoordinates) && LeftEye.Equals(other.LeftEye) && RightEye.Equals(other.RightEye) && TimeStamp == other.TimeStamp && TimeStampString.Equals(TimeStampString) && IsFixated == other.IsFixated); }