Click or drag to resize

WikiListT Class

This is preliminary documentation and is subject to change.

Represents a configured MediaWiki list. (mw:API:Lists)
Inheritance Hierarchy

Namespace: WikiClientLibrary.Generators.Primitive
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0-int.8+f07259cca53448109bd542f6a3e53c54ddd48d58
Syntax
public abstract class WikiList<T> : IWikiList<T>

Type Parameters

T
The type of listed items.

The WikiListT type exposes the following members.

Constructors
 NameDescription
Public methodWikiListTInitializes a new instance of the WikiListT class
Top
Properties
 NameDescription
Public propertyCompatibilityOptions Gets/sets the compatibility options used with this list.
Public propertyListName The name of list, used as the value of list parameter in action=query request.
Public propertyPaginationSize Gets/sets maximum items returned per MediaWiki API invocation.
Public propertySiteGets the MediaWiki site this instance applies to.
Top
Methods
 NameDescription
Public methodEnumItemsAsync Asynchronously enumerates all the items in the list.
Public methodEnumListParameters When overridden, fills generator parameters for action=query&list={ListName} request.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodItemFromJson Parses an item contained in the action=query&list= JSON response.
Protected methodItemsFromResponse From the given MediaWiki API response of the MediaWiki list request, locates the array of items whose items will be processed by ItemFromJson(JToken).
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnEnumItemsFailed When overriden, called when there is exception raised when executing the asynchronous generator function inside EnumItemsAsync(CancellationToken).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also