TraktPlugin.GUI.GUICommon.UnLikeComment C# (CSharp) Méthode

UnLikeComment() public static méthode

public static UnLikeComment ( TraktComment comment ) : void
comment TraktPlugin.TraktAPI.DataStructures.TraktComment
Résultat void
        public static void UnLikeComment(TraktComment comment)
        {
            var unlikeThread = new Thread((obj) =>
            {
                // remove like from cache

                TraktCache.RemoveCommentFromLikes((TraktComment)comment);
                TraktAPI.TraktAPI.UnLikeComment(((TraktComment)comment).Id);
            })
            {
                Name = "LikeComment",
                IsBackground = true
            };

            unlikeThread.Start(comment);
        }