TraktPlugin.GUI.GUITrendingMovies.ClearProperties C# (CSharp) Méthode

ClearProperties() private méthode

private ClearProperties ( bool moviesOnly = false ) : void
moviesOnly bool
Résultat void
        private void ClearProperties(bool moviesOnly = false)
        {
            if (!moviesOnly)
            {
                GUIUtils.SetProperty("#Trakt.Trending.PeopleCount", string.Empty);
                GUIUtils.SetProperty("#Trakt.Trending.Description", string.Empty);
                GUIUtils.SetProperty("#Trakt.Trending.CurrentPage", string.Empty);
                GUIUtils.SetProperty("#Trakt.Trending.TotalPages", string.Empty);
            }

            GUIUtils.SetProperty("#Trakt.Movie.Watchers", string.Empty);
            GUIUtils.SetProperty("#Trakt.Movie.Watchers.Extra", string.Empty);

            GUICommon.ClearMovieProperties();
        }