protected bool Equals(IRGBWorkingSpace other) { if (other == null) { throw new ArgumentNullException("other"); } return(Equals(WhitePoint, other.WhitePoint) && ChromaticityCoordinates.Equals(other.ChromaticityCoordinates) && Equals(Companding, other.Companding)); }
/// <inheritdoc cref="object" /> public bool Equals(IRGBWorkingSpace other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(WhitePoint, other.WhitePoint) && ChromaticityCoordinates.Equals(other.ChromaticityCoordinates) && Companding.Equals(other.Companding)); }