C# 클래스 Channel9Downloader.DataAccess.CategoryRepository

상속: ICategoryRepository
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader

공개 메소드들

메소드 설명
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