/// <summary>Returns a value indicating whether this <see cref="PathTargetInfo"/> structure equals another structure of the same type.</summary> /// <param name="other">A <see cref="PathTargetInfo"/> structure.</param> /// <returns>Returns true if the <paramref name="other"/> structure equals this <see cref="PathTargetInfo"/> structure, otherwise returns false.</returns> public bool Equals(PathTargetInfo other) { return(Identifier.Equals(other.Identifier) && (modeInfoIdx == other.modeInfoIdx) && (OutputTechnology == other.OutputTechnology) && (Rotation == other.Rotation) && (Scaling == other.Scaling) && RefreshRate.Equals(other.RefreshRate) && (ScanlineOrdering == other.ScanlineOrdering) && (IsTargetAvailable == other.IsTargetAvailable) && (State == other.State)); }
/// <summary>Returns a value indicating whether this <see cref="PathSourceInfo"/> structure equals another structure of the same type.</summary> /// <param name="other">A <see cref="PathSourceInfo"/> structure.</param> /// <returns>Returns true if the structures are equal, otherwise returns false.</returns> public bool Equals(PathSourceInfo other) { return(Identifier.Equals(other.Identifier) && (modeInfoIdx == other.modeInfoIdx) && (status == other.status)); }