C# 클래스 TraktPlugin.GUI.GUICommon

파일 보기 프로젝트 열기: trakt/Trakt-for-Mediaportal

공개 프로퍼티들

프로퍼티 타입 설명
CurrentMediaType MediaType
CurrentMovie TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary
CurrentShow TraktPlugin.TraktAPI.DataStructures.TraktShowSummary

Private Properties

프로퍼티 타입 설명
CheckAndPlayEpisode void
CheckAndPlayFirstUnwatchedEpisode void
CheckAndPlayMovie void
CheckRatingOnMovie bool
CheckRatingOnShow bool
ClearCommentProperties void
ClearEpisodeProperties void
ClearListProperties void
ClearMovieProperties void
ClearPersonProperties void
ClearSeasonProperties void
ClearShowProperties void
ClearStatisticProperties void
ClearUserProperties void
CreateMoviesContextMenu void
CreateShowsContextMenu void
FilterTrendingMovies IEnumerable
FilterTrendingShows IEnumerable
GetActivityItemName string
GetActivityListItemTitle string
GetContextMenuItemsForActivity List
GetFilterListItems List
GetLayoutTranslation string
GetProperty string
GetSortByString string
RateEpisode bool
RateMovie bool
RateSeason bool
RateShow bool
SetCommentProperties void
SetEpisodeProperties void
SetListProperties void
SetMovieProperties void
SetPersonProperties void
SetProperty void
SetProperty void
SetProperty void
SetProperty void
SetSeasonProperties void
SetShowProperties void
SetStatisticProperties void
SetUserProperties void
ShowLayoutMenu Layout
ShowMovieFiltersMenu bool
ShowSortMenu SortBy
ShowTVShowFiltersMenu bool

공개 메소드들

메소드 설명
AddSeasonToLibrary ( TraktShow show, int season ) : void
AddShowToCollection ( TraktShow show ) : void
CheckLogin ( ) : bool
CheckLogin ( bool showPreviousWindow ) : bool

Checks if user is logged in, if not the user is presented with a choice to jump to Account settings and signup/login.

GetTranslatedCreditJob ( string job ) : string
GetTranslatedCreditType ( Credit credit ) : string
LikeComment ( TraktComment comment ) : void
LikeList ( TraktListDetail list, string username ) : void
MarkSeasonAsWatched ( TraktShow show, int season ) : void
MarkShowAsWatched ( TraktShow show ) : void
ShowMovieTrailersMenu ( TraktMovieSummary movie ) : void
ShowMovieTrailersPluginMenu ( TraktMovieSummary movie ) : void
ShowSearchByMenu ( SearchPeople people, string title, string fanart ) : bool
ShowSearchByPersonMenu ( List people, string title, string fanart ) : bool
ShowTVEpisodeTrailersPluginMenu ( TraktShowSummary show, TraktEpisodeSummary episode ) : void
ShowTVSeasonTrailersPluginMenu ( TraktShowSummary show, int season ) : void
ShowTVShowTrailersMenu ( TraktShowSummary show, TraktEpisodeSummary episode = null ) : void
ShowTVShowTrailersPluginMenu ( TraktShowSummary show ) : void
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart ) : bool
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart, bool showAll ) : bool
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string episodetvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string imdbid, string episodetvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtMovieMenu ( string title, string year, string imdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart ) : bool
ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart, bool showAll ) : bool
ShowTraktExtTVSeasonMenu ( string title, string year, string tvdbid, string season, string seasonid, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtTVSeasonMenu ( string title, string year, string tvdbid, string imdbid, string season, string seasonid, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart ) : bool
ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart, SearchPeople people, bool showAll ) : bool
ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart, bool showAll ) : bool
ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string imdbid, string fanart, SearchPeople people, bool showAll ) : bool
UnLikeComment ( TraktComment comment ) : void
UnLikeList ( TraktListDetail list, string username ) : void

비공개 메소드들

메소드 설명
CheckAndPlayEpisode ( TraktShowSummary show, TraktEpisodeSummary episode ) : void
CheckAndPlayFirstUnwatchedEpisode ( TraktShowSummary show, bool jumpTo ) : void
CheckAndPlayMovie ( bool jumpTo, TraktMovieSummary movie ) : void

Checks if a selected movie exists locally and plays movie or jumps to corresponding plugin details view

CheckRatingOnMovie ( ) : bool
CheckRatingOnShow ( ) : bool
ClearCommentProperties ( ) : void
ClearEpisodeProperties ( ) : void
ClearListProperties ( ) : void
ClearMovieProperties ( ) : void
ClearPersonProperties ( ) : void
ClearSeasonProperties ( ) : void
ClearShowProperties ( ) : void
ClearStatisticProperties ( ) : void
ClearUserProperties ( ) : void
CreateMoviesContextMenu ( IDialogbox &dlg, TraktMovie movie, bool dashboard ) : void
CreateShowsContextMenu ( IDialogbox &dlg, TraktShow show, bool dashboard ) : void
FilterTrendingMovies ( IEnumerable moviesToFilter ) : IEnumerable
FilterTrendingShows ( IEnumerable showsToFilter ) : IEnumerable
GetActivityItemName ( TraktPlugin.TraktAPI.DataStructures.TraktActivity activity ) : string
GetActivityListItemTitle ( TraktPlugin.TraktAPI.DataStructures.TraktActivity activity, ActivityView view = ActivityView.community ) : string
GetContextMenuItemsForActivity ( TraktPlugin.TraktAPI.DataStructures.TraktActivity activity ) : List

Returns a list of context menu items for a selected item in the Activity Dashboard

GetFilterListItems ( bool>.Dictionary filters ) : List
GetLayoutTranslation ( Layout layout ) : string
GetProperty ( string property ) : string
GetSortByString ( SortBy currentSortBy ) : string
RateEpisode ( TraktShowSummary show, TraktEpisodeSummary episode ) : bool
RateMovie ( TraktMovieSummary movie ) : bool
RateSeason ( TraktShowSummary show, TraktSeasonSummary season ) : bool
RateShow ( TraktShowSummary show ) : bool
SetCommentProperties ( TraktComment comment, bool isWatched = false ) : void
SetEpisodeProperties ( TraktShowSummary show, TraktEpisodeSummary episode ) : void
SetListProperties ( TraktListDetail list, string username ) : void
SetMovieProperties ( TraktMovieSummary movie ) : void
SetPersonProperties ( TraktPersonSummary person ) : void
SetProperty ( string property, List value ) : void
SetProperty ( string property, bool value ) : void
SetProperty ( string property, int value ) : void
SetProperty ( string property, string value ) : void
SetSeasonProperties ( TraktShowSummary show, TraktSeasonSummary season ) : void
SetShowProperties ( TraktShowSummary show ) : void
SetStatisticProperties ( TraktUserStatistics stats, string Username ) : void
SetUserProperties ( TraktUserSummary user ) : void
ShowLayoutMenu ( Layout currentLayout, int itemToSelect ) : Layout
ShowMovieFiltersMenu ( ) : bool
ShowSortMenu ( SortBy currentSortBy ) : SortBy
ShowTVShowFiltersMenu ( ) : bool

메소드 상세

AddSeasonToLibrary() 공개 정적인 메소드

public static AddSeasonToLibrary ( TraktShow show, int season ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShow
season int
리턴 void

AddShowToCollection() 공개 정적인 메소드

public static AddShowToCollection ( TraktShow show ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShow
리턴 void

CheckLogin() 공개 정적인 메소드

public static CheckLogin ( ) : bool
리턴 bool

CheckLogin() 공개 정적인 메소드

Checks if user is logged in, if not the user is presented with a choice to jump to Account settings and signup/login.
public static CheckLogin ( bool showPreviousWindow ) : bool
showPreviousWindow bool
리턴 bool

GetTranslatedCreditJob() 공개 정적인 메소드

public static GetTranslatedCreditJob ( string job ) : string
job string
리턴 string

GetTranslatedCreditType() 공개 정적인 메소드

public static GetTranslatedCreditType ( Credit credit ) : string
credit Credit
리턴 string

LikeComment() 공개 정적인 메소드

public static LikeComment ( TraktComment comment ) : void
comment TraktPlugin.TraktAPI.DataStructures.TraktComment
리턴 void

LikeList() 공개 정적인 메소드

public static LikeList ( TraktListDetail list, string username ) : void
list TraktPlugin.TraktAPI.DataStructures.TraktListDetail
username string
리턴 void

MarkSeasonAsWatched() 공개 정적인 메소드

public static MarkSeasonAsWatched ( TraktShow show, int season ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShow
season int
리턴 void

MarkShowAsWatched() 공개 정적인 메소드

public static MarkShowAsWatched ( TraktShow show ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShow
리턴 void

ShowMovieTrailersMenu() 공개 정적인 메소드

public static ShowMovieTrailersMenu ( TraktMovieSummary movie ) : void
movie TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary
리턴 void

ShowMovieTrailersPluginMenu() 공개 정적인 메소드

public static ShowMovieTrailersPluginMenu ( TraktMovieSummary movie ) : void
movie TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary
리턴 void

ShowSearchByMenu() 공개 정적인 메소드

public static ShowSearchByMenu ( SearchPeople people, string title, string fanart ) : bool
people SearchPeople
title string
fanart string
리턴 bool

ShowSearchByPersonMenu() 공개 정적인 메소드

public static ShowSearchByPersonMenu ( List people, string title, string fanart ) : bool
people List
title string
fanart string
리턴 bool

ShowTVEpisodeTrailersPluginMenu() 공개 정적인 메소드

public static ShowTVEpisodeTrailersPluginMenu ( TraktShowSummary show, TraktEpisodeSummary episode ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShowSummary
episode TraktPlugin.TraktAPI.DataStructures.TraktEpisodeSummary
리턴 void

ShowTVSeasonTrailersPluginMenu() 공개 정적인 메소드

public static ShowTVSeasonTrailersPluginMenu ( TraktShowSummary show, int season ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShowSummary
season int
리턴 void

ShowTVShowTrailersMenu() 공개 정적인 메소드

public static ShowTVShowTrailersMenu ( TraktShowSummary show, TraktEpisodeSummary episode = null ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShowSummary
episode TraktPlugin.TraktAPI.DataStructures.TraktEpisodeSummary
리턴 void

ShowTVShowTrailersPluginMenu() 공개 정적인 메소드

public static ShowTVShowTrailersPluginMenu ( TraktShowSummary show ) : void
show TraktPlugin.TraktAPI.DataStructures.TraktShowSummary
리턴 void

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
season string
episode string
tvdbid string
isWatched bool
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart ) : bool
title string
year string
season string
episode string
tvdbid string
fanart string
리턴 bool

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
season string
episode string
tvdbid string
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string fanart, bool showAll ) : bool
title string
year string
season string
episode string
tvdbid string
fanart string
showAll bool
리턴 bool

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string episodetvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
season string
episode string
tvdbid string
episodetvdbid string
isWatched bool
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtEpisodeMenu() 공개 정적인 메소드

public static ShowTraktExtEpisodeMenu ( string title, string year, string season, string episode, string tvdbid, string imdbid, string episodetvdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
season string
episode string
tvdbid string
imdbid string
episodetvdbid string
isWatched bool
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtMovieMenu() 공개 정적인 메소드

public static ShowTraktExtMovieMenu ( string title, string year, string imdbid, bool isWatched, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
imdbid string
isWatched bool
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtMovieMenu() 공개 정적인 메소드

public static ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart ) : bool
title string
year string
imdbid string
fanart string
리턴 bool

ShowTraktExtMovieMenu() 공개 정적인 메소드

public static ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
imdbid string
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtMovieMenu() 공개 정적인 메소드

public static ShowTraktExtMovieMenu ( string title, string year, string imdbid, string fanart, bool showAll ) : bool
title string
year string
imdbid string
fanart string
showAll bool
리턴 bool

ShowTraktExtTVSeasonMenu() 공개 정적인 메소드

public static ShowTraktExtTVSeasonMenu ( string title, string year, string tvdbid, string season, string seasonid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
tvdbid string
season string
seasonid string
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtTVSeasonMenu() 공개 정적인 메소드

public static ShowTraktExtTVSeasonMenu ( string title, string year, string tvdbid, string imdbid, string season, string seasonid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
tvdbid string
imdbid string
season string
seasonid string
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtTVShowMenu() 공개 정적인 메소드

public static ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart ) : bool
title string
year string
tvdbid string
fanart string
리턴 bool

ShowTraktExtTVShowMenu() 공개 정적인 메소드

public static ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
tvdbid string
fanart string
people SearchPeople
showAll bool
리턴 bool

ShowTraktExtTVShowMenu() 공개 정적인 메소드

public static ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string fanart, bool showAll ) : bool
title string
year string
tvdbid string
fanart string
showAll bool
리턴 bool

ShowTraktExtTVShowMenu() 공개 정적인 메소드

public static ShowTraktExtTVShowMenu ( string title, string year, string tvdbid, string imdbid, string fanart, SearchPeople people, bool showAll ) : bool
title string
year string
tvdbid string
imdbid string
fanart string
people SearchPeople
showAll bool
리턴 bool

UnLikeComment() 공개 정적인 메소드

public static UnLikeComment ( TraktComment comment ) : void
comment TraktPlugin.TraktAPI.DataStructures.TraktComment
리턴 void

UnLikeList() 공개 정적인 메소드

public static UnLikeList ( TraktListDetail list, string username ) : void
list TraktPlugin.TraktAPI.DataStructures.TraktListDetail
username string
리턴 void

프로퍼티 상세

CurrentMediaType 공개적으로 정적으로 프로퍼티

public static MediaType CurrentMediaType
리턴 MediaType

CurrentMovie 공개적으로 정적으로 프로퍼티

public static TraktMovieSummary,TraktPlugin.TraktAPI.DataStructures CurrentMovie
리턴 TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary

CurrentShow 공개적으로 정적으로 프로퍼티

public static TraktShowSummary,TraktPlugin.TraktAPI.DataStructures CurrentShow
리턴 TraktPlugin.TraktAPI.DataStructures.TraktShowSummary