TraktPlugin.TraktCache.RemoveCommentFromLikes C# (CSharp) Méthode

RemoveCommentFromLikes() static private méthode

static private RemoveCommentFromLikes ( TraktComment comment ) : void
comment TraktPlugin.TraktAPI.DataStructures.TraktComment
Résultat void
        internal static void RemoveCommentFromLikes(TraktComment comment)
        {
            if (_LikedComments == null)
                return;

            var likedComments = _LikedComments.ToList();
            likedComments.RemoveAll(l => l.Comment.Id == comment.Id);

            _LikedComments = likedComments;
        }
TraktCache