public bool Equals(IXLStyle other) { return (Font.Equals(other.Font) && Fill.Equals(other.Fill) && Border.Equals(other.Border) && NumberFormat.Equals(other.NumberFormat) && Alignment.Equals(other.Alignment) && Protection.Equals(other.Protection) ); }
public bool Equals(XlsxStyle other) { return(other != null && Font.Equals(other.Font) && Fill.Equals(other.Fill) && Border.Equals(other.Border) && NumberFormat.Equals(other.NumberFormat) && Alignment == other.Alignment); }
/// <summary> /// Returns true if this equals the provided PluralFormat. /// </summary> /// /// <param name="rhs">the PluralFormat to compare against</param> /// <returns>true if this equals rhs</returns> /// @draft ICU 3.8 /// @provisional This API might change or be removed in a future release. public bool Equals(PluralFormat rhs) { return(pluralRules.Equals(rhs.pluralRules) && parsedValues.Equals(rhs.parsedValues) && numberFormat.Equals(rhs.numberFormat)); }