Click or drag to resize

GeoCoordinatesPropertyProvider Class

This is preliminary documentation and is subject to change.

Returns the geographical coordinates associated with the page. (mw:Extension:GeoData#prop=coordinates)
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.Pages.Queries.PropertiesWikiPagePropertyProviderGeoCoordinatesPropertyGroup
    WikiClientLibrary.Pages.Queries.PropertiesGeoCoordinatesPropertyProvider

Namespace: WikiClientLibrary.Pages.Queries.Properties
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
public class GeoCoordinatesPropertyProvider : WikiPagePropertyProvider<GeoCoordinatesPropertyGroup>

The GeoCoordinatesPropertyProvider type exposes the following members.

Constructors
 NameDescription
Public methodGeoCoordinatesPropertyProviderInitializes a new instance of the GeoCoordinatesPropertyProvider class
Top
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.
(Overrides WikiPagePropertyProviderTPropertyName)
Public propertyQueryDistanceFromPage Also queries for the distance of each coordinate from the coordinate of the given page.
Public propertyQueryDistanceFromPoint Also queries for the distance of each coordinate from the given point.
Public propertyQueryPrimaryCoordinate Whether to query for primary coordinate for the page.
Public propertyQuerySecondaryCoordinate Whether to query for the secondary coordinate for the page.
Top
Methods
 NameDescription
Public methodEnumParameters Enumerates the MediaWiki API request parameters for action=query request.
(Overrides WikiPagePropertyProviderTEnumParameters(MediaWikiVersion))
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 methodGetMaxPaginationSize Gets the maximum allowed count of titles in each MediaWiki API request.
(Inherited from WikiPagePropertyProviderT)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParsePropertyGroup Parses the properties from the givenaction=query JSON response.
(Overrides WikiPagePropertyProviderTParsePropertyGroup(JObject))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also