////------------------------------------------------------------------------------------------------------------------------------ /// <inheritdoc/> public override bool Equals(Lyrics3v2Field audioFrame) { return Equals(audioFrame as Lyrics3v2ImageFileField); }
/// <summary> /// Equals the specified <see cref="Lyrics3v2Field"/>. /// </summary> /// <param name="field">The <see cref="Lyrics3v2Field"/>.</param> /// <returns> /// true if equal; false otherwise. /// </returns> public virtual bool Equals(Lyrics3v2Field field) { if (ReferenceEquals(null, field)) return false; if (ReferenceEquals(this, field)) return true; return String.Equals(field.Identifier, Identifier, StringComparison.OrdinalIgnoreCase) && ((field.Data != null) && (Data != null) ? StreamBuffer.SequenceEqual(field.Data, Data) : (field.Data == null) && (Data == null)); }
/// <summary> /// Initializes a new instance of the <see cref="Lyrics3v2FieldParsedEventArgs" /> class. /// </summary> /// <param name="field">The field.</param> public Lyrics3v2FieldParsedEventArgs(Lyrics3v2Field field) { Field = field; }
////------------------------------------------------------------------------------------------------------------------------------ /// <inheritdoc/> public override bool Equals(Lyrics3v2Field audioFrame) { return Equals(audioFrame as Lyrics3v2IndicationsField); }