C# Класс 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
Наследование: IListProvider
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
WantedAttribute string

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

Метод Описание
ApiMakeList ( string url, int haveSoFar ) : List

Main function that retrieves the list from API, including paging

MakeList ( ) : List
Selected ( ) : void

Защищенные методы

Метод Описание
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

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

ApiListProviderBase() защищенный Метод

protected ApiListProviderBase ( ) : System
Результат System

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

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
Результат List

EvaluateXmlElement() защищенный Метод

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
Результат bool

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

public abstract MakeList ( ) : List
Результат List

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

public abstract Selected ( ) : void
Результат void

Описание свойств

WantedAttribute защищенное свойство

protected string WantedAttribute
Результат string