Click or drag to resize

IWikiPagePropertyProviderT Interface

This is preliminary documentation and is subject to change.

Used in client-side to implement different query modules by providing extra parameters for action=query requests.

Namespace: WikiClientLibrary.Pages.Queries.Properties
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public interface IWikiPagePropertyProvider<out T>
where T : class, IWikiPagePropertyGroup

Type Parameters

T
The type of property group that will be attached to every processed WikiPage.

The IWikiPagePropertyProviderT type exposes the following members.

Properties
 NameDescription
Public propertyPropertyName Gets the property name, when this property is needed to be included in the prop= parameter in the MediaWiki API request.
Top
Methods
 NameDescription
Public methodEnumParameters Enumerates the MediaWiki API request parameters for action=query request.
Public methodGetMaxPaginationSize Gets the maximum allowed count of titles in each MediaWiki API request.
Public methodParsePropertyGroup Parses the properties from the givenaction=query JSON response.
Top
Remarks
You can use GetPropertyGroupT to retrieve the property groups attached to a wiki page.
See Also