Click or drag to resize

WikiClient Class

This is preliminary documentation and is subject to change.

Provides basic operations for MediaWiki API via HTTP(S).
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.ClientWikiClient

Namespace: WikiClientLibrary.Client
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class WikiClient : IWikiClient, IWikiClientLoggable, 
	IDisposable

The WikiClient type exposes the following members.

Constructors
 NameDescription
Public methodWikiClientInitializes a new instance of the WikiClient class
Public methodWikiClient(HttpMessageHandler)Initializes a new instance of the WikiClient class
Public methodWikiClient(HttpMessageHandler, Boolean)Initializes a new instance of the WikiClient class
Top
Properties
 NameDescription
Public propertyClientUserAgent User Agent for client-side application.
Public propertyCookieContainer Gets/Sets the cookies used in the requests.
Public propertyLogger Replaces the logger factory of the specified instance.
Public propertyMaxRetries Max retries count.
Public propertyRetryDelay Delay before each retry.
Public propertyTimeout Timeout for each query.
Top
Methods
 NameDescription
Protected methodCreateHttpRequestMessage Creates an HTTP request message with the given endpoint URL and WikiRequestMessage instance.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the WikiClient and optionally releases the managed resources
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)
Public methodInvokeAsyncT Performs API invocation on the specified endpoint and gets parsed result.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldStatic memberWikiClientUserAgent The User Agent of Wiki Client Library.
Top
Extension Methods
 NameDescription
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) on the Logger with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope
(Defined by WikiLoggingHelper)
Public Extension MethodBeginActionScope Invokes BeginScopeTState(TState) on the Logger with the current action(method) name and parameters.
(Defined by WikiLoggingHelper)
Top
See Also