Click or drag to resize

WikiFamily Class

This is preliminary documentation and is subject to change.

Provides a simple IWikiFamily implementation based on a list of API endpoint URLs.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesWikiFamily

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class WikiFamily : IWikiFamily, IWikiClientLoggable, 
	IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable

The WikiFamily type exposes the following members.

Constructors
 NameDescription
Public methodWikiFamily(IWikiClient) Initializes the instance with a WikiClient and family name.
Public methodWikiFamily(IWikiClient, String) Initializes the instance with a WikiClient and family name.
Top
Properties
 NameDescription
Public propertyCountGets the number of elements in the collection.
Public propertyLogger Replaces the logger factory of the specified instance.
Public propertyName Gets the name of this wiki family.
Public propertyWikiClient 
Top
Methods
 NameDescription
Protected methodCreateSiteAsync Asynchronously create a WikiSite instance.
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 methodGetEnumeratorReturns an enumerator that iterates through the collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSiteAsync Asynchronously gets a WikiSite instance from the specified family name. (Case-insensitive) This method will create the Site instance, if necessary; otherwise it will return the created one.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnSiteCreated Raises SiteCreated event.
Public methodRegister Add a new wiki site into this family.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryNormalize Tries to normalize the specified wiki prefix by changing the letter-case of the input name.
Top
Events
 NameDescription
Public eventSiteCreated Raised when a new WikiSite has been instantiated, but before it is stored into the site cache.
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
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
Top
See Also