Click or drag to resize

WikiPageQueryProvider Class

This is preliminary documentation and is subject to change.

The default implementation of IWikiPageQueryProvider that generates parameters for action=query&titles= or action=query&pageids= MediaWiki API requests with a set of IWikiPagePropertyProviderT.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.Pages.QueriesWikiPageQueryProvider

Namespace: WikiClientLibrary.Pages.Queries
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class WikiPageQueryProvider : IWikiPageQueryProvider

The WikiPageQueryProvider type exposes the following members.

Constructors
 NameDescription
Public methodWikiPageQueryProviderInitializes a new instance of the WikiPageQueryProvider class
Top
Properties
 NameDescription
Public propertyProperties Gets/sets the page properties to fetch from MediaWiki site.
Public propertyResolveRedirects Resolves directs automatically. This may later change Title. This option cannot be used with generators. In the case of multiple redirects (A→B→C→…→X), all the redirects on the path will be resolved.
Top
Methods
 NameDescription
Public methodEnumParameters Enumerates the MediaWiki API request parameters for action=query 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 methodStatic memberFromOptions Initializes a WikiPageQueryProvider from the given PageQueryOptions value.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMaxPaginationSize Gets the maximum allowed count of titles in each MediaWiki API request.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParsePropertyGroups Parses one or more property groups from the givenaction=query JSON response.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The default implementation of this interface is WikiPageQueryProvider.
See Also