C# Class WikiFunctions.Lists.Providers.CategoryProviderBase

Inheritance: ApiListProviderBase
Mostra file Open project: reedy/AutoWikiBrowser

Protected Properties

Property Type Description
Visited List

Public Methods

Method Description
GetListing ( string category ) : List
GetListing ( string category, int haveSoFar ) : List

Gets the content of the given categor(y/ies)

PrepareCategories ( IEnumerable source ) : IEnumerable

Normalises category names, removes Category: prefix

RecurseCategory ( string category, int haveSoFar, int depth ) : List
Selected ( ) : void

Method Details

GetListing() public method

public GetListing ( string category ) : List
category string
return List

GetListing() public method

Gets the content of the given categor(y/ies)
public GetListing ( string category, int haveSoFar ) : List
category string Category name. Must be WITHOUT the Category: prefix
haveSoFar int Number of pages already retrieved, for upper limit control
return List

PrepareCategories() public static method

Normalises category names, removes Category: prefix
public static PrepareCategories ( IEnumerable source ) : IEnumerable
source IEnumerable List of category names
return IEnumerable

RecurseCategory() public method

public RecurseCategory ( string category, int haveSoFar, int depth ) : List
category string
haveSoFar int
depth int
return List

Selected() public method

public Selected ( ) : void
return void

Property Details

Visited protected_oe property

protected List Visited
return List