Open sandboxFocus

Method AddItem

AddItem(TKey, TValue)

Adds an element into the underlying dictionary.

Declaration
protected virtual void AddItem(TKey key, TValue value)
Parameters
Type Name Description
TKey key

The key of the element to add.

TValue value

The value of the element to add. The value can be null for reference types..

Remarks

note

This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method.