C# Класс TraktPlugin.GUI.GUICalendar

Наследование: MediaPortal.GUI.Library.GUIWindow
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CheckAndPlayEpisode void
ClearProperties void
ConvertDaysInCalendarToLocalisedDays List>.Dictionary
GetCalendar IEnumerable>.Dictionary
GetCalendarTypeName string
GetDayHeader string
GetDaysForward string
GetStartDate System.DateTime
GetStartDateName string
InitProperties void
LoadCalendar void
OnCalendarDateSelected void
OnEpisodeSelected void
OnNextWeekSelected void
PublishCalendarSkinProperties void
SendCalendarToFacade void
SetCurrentStartDate void
SetCurrentView void
SetHideWatchlisted void
ShowStartDateMenu void
ShowViewMenu void

Открытые методы

Метод Описание
ClearCache ( ) : void
GUICalendar ( ) : System
Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void

Защищенные методы

Метод Описание
OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
OnPageDestroy ( int new_windowId ) : void
OnPageLoad ( ) : void
OnShowContextMenu ( ) : void

Приватные методы

Метод Описание
CheckAndPlayEpisode ( ) : void
ClearProperties ( ) : void
ConvertDaysInCalendarToLocalisedDays ( Dictionary calendar ) : List>.Dictionary

Converts each day in the calendar dictionary key to a localised day Some underlying episodes could be from multiple days as they span a UTC day not a local day

GetCalendar ( ) : IEnumerable>.Dictionary
GetCalendarTypeName ( CalendarType type ) : string
GetDayHeader ( System.DateTime dateTime ) : string
GetDaysForward ( ) : string

Get number of days forward to request in calendar, takes into consideration the current anchor point

GetStartDate ( ) : System.DateTime

Get Date Time for Calendar Anchor Point

GetStartDateName ( StartDates date ) : string
InitProperties ( ) : void
LoadCalendar ( ) : void
OnCalendarDateSelected ( GUIListItem item, GUIControl parent ) : void
OnEpisodeSelected ( GUIListItem item, GUIControl parent ) : void
OnNextWeekSelected ( GUIListItem item, GUIControl parent ) : void
PublishCalendarSkinProperties ( TraktCalendar calendarItem ) : void
SendCalendarToFacade ( Dictionary calendar ) : void
SetCurrentStartDate ( ) : void
SetCurrentView ( ) : void
SetHideWatchlisted ( ) : void
ShowStartDateMenu ( ) : void
ShowViewMenu ( ) : void

Описание методов

ClearCache() публичный статический Метод

public static ClearCache ( ) : void
Результат void

GUICalendar() публичный Метод

public GUICalendar ( ) : System
Результат System

Init() публичный Метод

public Init ( ) : bool
Результат bool

OnAction() публичный Метод

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
Результат void

OnClicked() защищенный Метод

protected OnClicked ( int controlId, GUIControl control, MediaPortal.GUI.Library.Action actionType ) : void
controlId int
control MediaPortal.GUI.Library.GUIControl
actionType MediaPortal.GUI.Library.Action
Результат void

OnPageDestroy() защищенный Метод

protected OnPageDestroy ( int new_windowId ) : void
new_windowId int
Результат void

OnPageLoad() защищенный Метод

protected OnPageLoad ( ) : void
Результат void

OnShowContextMenu() защищенный Метод

protected OnShowContextMenu ( ) : void
Результат void