C# Класс Channel9Downloader.DataAccess.CategoryRepository

Наследование: ICategoryRepository
Показать файл Открыть проект

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

Метод Описание
GetCategories ( ) : Categories

Gets a list of all categories.

SaveCategories ( ) : void

Saves the categories.

UpdateCategories ( ) : void

Updates the available categories.

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

Метод Описание
CategoryRepository ( ICategoryScraper categoryScraper, IFolderUtils folderUtils, ICategoriesDataAccess categoriesDataAccess ) : System.Collections.Generic
CreateFilenameForCategory ( ) : string

Creates the filename for the category file.

RetrieveCategories ( ) : void

Retrieves the categories from the channel 9 site.

SetIsEnabled ( IEnumerable categories, IEnumerable existingCategories ) : void

Sets the categories enabled depending on whether they have been enabled before.

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

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

Gets a list of all categories.
public GetCategories ( ) : Categories
Результат Channel9Downloader.Entities.Categories

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

Saves the categories.
public SaveCategories ( ) : void
Результат void

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

Updates the available categories.
public UpdateCategories ( ) : void
Результат void