<PackageReference Include="castle.core" Version="2.5.2" />

ReflectionBasedDictionaryAdapter

Pendent
public int Count { get; }

Gets the number of elements contained in the ICollection.

public bool IsReadOnly { get; }

Gets a value indicating whether the IDictionary object is read-only.

public bool IsSynchronized { get; }

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

public object this[object key] { get; set; }

Gets or sets the Object with the specified key.

public ICollection Keys { get; }

Gets an ICollection object containing the keys of the IDictionary object.

public object SyncRoot { get; }

Gets an object that can be used to synchronize access to the ICollection.

public ICollection Values { get; }

Gets an ICollection object containing the values in the IDictionary object.

public ReflectionBasedDictionaryAdapter(object target)

Initializes a new instance of the ReflectionBasedDictionaryAdapter class.

public void Add(object key, object value)

Adds an element with the provided key and value to the IDictionary object.

public void Clear()

Removes all elements from the IDictionary object.

public bool Contains(object key)

Determines whether the IDictionary object contains an element with the specified key.

Returns an enumerator that iterates through a collection.

public void Remove(object key)

Removes the element with the specified key from the IDictionary object.