C# Класс TraktPlugin.TraktLists

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ClearItemsInList ( string username, int id ) : void

Temporarily clears all items in a list Next time list contents will be refereshed online

ClearListCache ( string username ) : void
ClearListItemCache ( string username, string id ) : void
GetListDetailsFromUser ( TraktListDetail &list ) : bool

Get all details needed to create a new list or edit existing list

GetListItemsForUser ( string username, int id ) : IEnumerable

Get list items for user

GetListsForUser ( string username ) : IEnumerable

Get custom lists created by a user

GetUserListSelections ( List lists ) : List

Get the ids for each list selected by a user in the Multi-Select dialog

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

Метод Описание
GetMultiSelectItems ( List lists ) : List
GetPrivacyLevelFromTranslation ( string translatedString ) : string
GetPrivacyLevelIcon ( string privacyLevel ) : string
GetPrivacyLevelTranslation ( string privacyLevel ) : string

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

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

Temporarily clears all items in a list Next time list contents will be refereshed online
public static ClearItemsInList ( string username, int id ) : void
username string
id int
Результат void

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

public static ClearListCache ( string username ) : void
username string
Результат void

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

public static ClearListItemCache ( string username, string id ) : void
username string
id string
Результат void

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

Get all details needed to create a new list or edit existing list
public static GetListDetailsFromUser ( TraktListDetail &list ) : bool
list TraktPlugin.TraktAPI.DataStructures.TraktListDetail returns list details
Результат bool

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

Get list items for user
public static GetListItemsForUser ( string username, int id ) : IEnumerable
username string
id int
Результат IEnumerable

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

Get custom lists created by a user
public static GetListsForUser ( string username ) : IEnumerable
username string
Результат IEnumerable

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

Get the ids for each list selected by a user in the Multi-Select dialog
public static GetUserListSelections ( List lists ) : List
lists List
Результат List