 | 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.PropertiesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntaxpublic interface IWikiPagePropertyProvider<out T>
where T : class, IWikiPagePropertyGroup
Public Interface IWikiPagePropertyProvider(Of Out T As {Class, IWikiPagePropertyGroup})
Dim instance As IWikiPagePropertyProvider(Of Out T)
generic<typename T>
where T : ref class, IWikiPagePropertyGroup
public interface class IWikiPagePropertyProvider
type IWikiPagePropertyProvider<'T when 'T : not struct and IWikiPagePropertyGroup> = interface end
Type Parameters
- T
- The type of property group that will be attached to every processed WikiPage.
The IWikiPagePropertyProviderT type exposes the following members.
Properties | Name | Description |
---|
 | PropertyName |
Gets the property name, when this property is needed to be included in the prop= parameter
in the MediaWiki API request.
|
Top
Methods | Name | Description |
---|
 | EnumParameters |
Enumerates the MediaWiki API request parameters for action=query request.
|
 | GetMaxPaginationSize |
Gets the maximum allowed count of titles in each MediaWiki API request.
|
 | ParsePropertyGroup |
Parses the properties from the givenaction=query JSON response.
|
Top
RemarksYou can use
GetPropertyGroupT to retrieve the property groups attached to a wiki page.
See Also