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.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public class WikiReadOnlyDictionary : IDictionary<string, JsonElement>, 
	ICollection<KeyValuePair<string, JsonElement>>, IEnumerable<KeyValuePair<string, JsonElement>>, 
	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 methodGetInt64Value(String) Gets the Int64 value by property name. This overload raises exception for missing key.
Public methodGetInt64Value(String, Int64) Gets the Int64 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 methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnDeserialized 
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, JsonElementAddAdds an item to the ICollectionT.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JsonElementClearRemoves all items from the ICollectionT.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JsonElementContainsDetermines whether the ICollectionT contains a specific value.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JsonElementCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
Explicit interface implementationPrivate propertyICollectionKeyValuePairString, JsonElementIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
Explicit interface implementationPrivate methodICollectionKeyValuePairString, JsonElementRemoveRemoves the first occurrence of a specific object from the ICollectionT.
Explicit interface implementationPrivate methodIDictionaryString, JsonElementAddAdds an element with the provided key and value to the IDictionaryTKey, TValue.
Explicit interface implementationPrivate methodIDictionaryString, JsonElementRemoveRemoves 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, JsonElementGetEnumeratorReturns an enumerator that iterates through the collection.
Top
See Also
Inheritance Hierarchy