Click or drag to resize

WikiReadOnlyDictionary Class

This is preliminary documentation and is subject to change.

A dictionary with predefined strong-typed derived properties customizable by implementers.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.InfrastructuresWikiReadOnlyDictionary
    More

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
[JsonDictionaryAttribute]
public class WikiReadOnlyDictionary : IDictionary<string, JToken>, 
	ICollection<KeyValuePair<string, JToken>>, IEnumerable<KeyValuePair<string, JToken>>, 
	IEnumerable

The WikiReadOnlyDictionary type exposes the following members.

Constructors
 NameDescription
Public methodWikiReadOnlyDictionaryInitializes a new instance of the WikiReadOnlyDictionary class
Top
Properties
 NameDescription
Public propertyCount Gets the count of all properties.
Public propertyItem Tries to get the value of the specified property.
Public propertyKeysGets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
Public propertyValuesGets an ICollectionT containing the values in the IDictionaryTKey, TValue.
Top
Methods
 NameDescription
Public methodContainsKeyDetermines whether the IDictionaryTKey, TValue contains an element with the specified key.
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 methodGetBooleanValue Gets the Boolean value by property name.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInt32Value(String) Gets the Int32 value by property name. This overload raises exception for missing key.
Public methodGetInt32Value(String, Int32) Gets the Int32 value by property name. A default value can be provided in case the specified key does not exist.
Public methodGetStringValue Gets the String value by property name.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetValueDirect Tries to directly gets the value of the specified property.
Protected methodMakeReadonly 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValueGets the value associated with the specified key.
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JTokenAddAdds an item to the ICollectionT.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JTokenClearRemoves all items from the ICollectionT.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JTokenContainsDetermines whether the ICollectionT contains a specific value.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JTokenCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
Explicit interface implementationPrivate propertyICollectionKeyValuePairString, JTokenIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JTokenRemoveRemoves the first occurrence of a specific object from the ICollectionT.
Explicit interface implementationPrivate methodIDictionaryString, JTokenAddAdds an element with the provided key and value to the IDictionaryTKey, TValue.
Explicit interface implementationPrivate methodIDictionaryString, JTokenRemoveRemoves the element with the specified key from the IDictionaryTKey, TValue.
Explicit interface implementationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIEnumerableKeyValuePairString, JTokenGetEnumeratorReturns an enumerator that iterates through the collection.
Top
See Also
Inheritance Hierarchy