C# Class WikiFunctions.Lists.Providers.ApiListProviderBase

Parent abstract class for all API-based providers currently simultaneous call of more than one API generator is not fully supported
Inheritance: IListProvider
Afficher le fichier Open project: reedy/AutoWikiBrowser

Protected Properties

Свойство Type Description
WantedAttribute string

Méthodes publiques

Méthode Description
ApiMakeList ( string url, int haveSoFar ) : List

Main function that retrieves the list from API, including paging

MakeList ( ) : List
Selected ( ) : void

Méthodes protégées

Méthode Description
ApiListProviderBase ( ) : System
EvaluateXmlElement ( XmlTextReader xml ) : bool

Allows for customised evaluation of the Xml element, as it is ok to add this element to the article list

Method Details

ApiListProviderBase() protected méthode

protected ApiListProviderBase ( ) : System
Résultat System

ApiMakeList() public méthode

Main function that retrieves the list from API, including paging
public ApiMakeList ( string url, int haveSoFar ) : List
url string URL of API request
haveSoFar int Number of pages already retrieved, for upper limit control
Résultat List

EvaluateXmlElement() protected méthode

Allows for customised evaluation of the Xml element, as it is ok to add this element to the article list
protected EvaluateXmlElement ( XmlTextReader xml ) : bool
xml System.Xml.XmlTextReader XmlTextReader at which the current element is to be evaluated
Résultat bool

MakeList() public abstract méthode

public abstract MakeList ( ) : List
Résultat List

Selected() public abstract méthode

public abstract Selected ( ) : void
Résultat void

Property Details

WantedAttribute protected_oe property

protected string WantedAttribute
Résultat string