internal FrameListChangedEventArgs(FrameListChangeType changeType, Id3Frame frame)
 {
     _changeType = changeType;
     _frame      = frame;
     if (frame != null)
     {
         _frameType = frame.GetType();
     }
 }
Beispiel #2
0
 public override bool Equals(Id3Frame other)
 {
     return(other is LyricsFrame lyricsFrame &&
            lyricsFrame.Language == Language &&
            lyricsFrame.Description == Description);
 }
        public override sealed bool Equals(Id3Frame other)
        {
            var text = other as TextFrameBase;

            return((text != null) && (text.GetType() == GetType()) && (text.TextValue == TextValue));
        }
Beispiel #4
0
 public override bool Equals(Id3Frame other)
 {
     return(base.Equals(other) &&
            other is UrlLinkFrame urlLink &&
            Url == urlLink.Url);
 }
 public override bool Equals(Id3Frame other)
 {
     return(other is CommentFrame comment &&
            comment.Language == Language &&
            comment.Description == Description);
 }
 public sealed override bool Equals(Id3Frame other)
 {
     return(other is TextFrameBase text &&
            text.TextValue == TextValue);
 }
Beispiel #7
0
        public override bool Equals(Id3Frame other)
        {
            var picture = other as PictureFrame;

            return((picture != null) && (PictureType == picture.PictureType));
        }
 public override bool Equals(Id3Frame other)
 {
     return(other is PictureFrame picture &&
            PictureType == picture.PictureType);
 }
 public override bool Equals(Id3Frame other)
 {
     return(other is PrivateFrame privateFrame &&
            privateFrame.OwnerId == OwnerId &&
            ByteArrayHelper.AreEqual(privateFrame.Data, Data));
 }
Beispiel #10
0
        public override bool Equals(Id3Frame other)
        {
            var urlLink = other as UrlLinkFrame;

            return((urlLink != null) && (Url == urlLink.Url));
        }
        public override bool Equals(Id3Frame other)
        {
            var comment = other as CommentFrame;

            return((comment != null) && (comment.Language == Language) && (comment.Description == Description));
        }
Beispiel #12
0
        public override bool Equals(Id3Frame other)
        {
            var privateFrame = other as PrivateFrame;

            return((privateFrame != null) && (privateFrame.OwnerId == OwnerId) && (ByteArrayHelper.AreEqual(privateFrame.Data, Data)));
        }