Click or drag to resize

LocalWikiSearchList Class

This is preliminary documentation and is subject to change.

A MediaWiki-list-like object that can enumerate the search results.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.Wikia.WikiaApiLocalWikiSearchList

Namespace: WikiClientLibrary.Wikia.WikiaApi
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class LocalWikiSearchList : IWikiList<LocalWikiSearchResultItem>

The LocalWikiSearchList type exposes the following members.

Constructors
 NameDescription
Public methodLocalWikiSearchList(WikiaSite) Initializes a new instance of LocalWikiSearchList using the target Wikia site.
Public methodLocalWikiSearchList(WikiaSite, String) Initializes a new instance of LocalWikiSearchList using the target Wikia site and search keyword.
Top
Properties
 NameDescription
Public propertyKeyword Search for all page titles (or content) that have this value.
Public propertyMinimumArticleQuality Minimal value of article quality.
Public propertyNamespaceIds Only list pages in these namespaces.
Public propertyPaginationSize Gets/sets maximum items returned per API invocation.
Public propertyRankingType The ranking to use in fetching the list of results.
Public propertySite Gets the Wikia site this list-like object is applied to.
Top
Methods
 NameDescription
Public methodEnumItemsAsync Asynchronously enumerates all the items in the list.
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 methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
To take a sequence of WikiPage instances from this object, you can use LINQ SelectTSource, TResult(IEnumerableTSource, FuncTSource, TResult) method with WikiPage(WikiSite, String); then call RefreshAsync(IEnumerableWikiPage) to fetch page information or content.
See Also