private bool AreEquivalent( XLBorderStyleValues borderStyle1, XLColorKey color1, XLBorderStyleValues borderStyle2, XLColorKey color2) { return((borderStyle1 == XLBorderStyleValues.None && borderStyle2 == XLBorderStyleValues.None) || borderStyle1 == borderStyle2 && color1 == color2); }
internal XLColor(XLColorKey key) { Key = key; HasValue = true; }