PostSharpAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesDictionary­Dynamic­Advice<TKey, TValue>Set­Item
Open sandboxFocus

Method SetItem

SetItem(TKey, TValue, TValue, AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>>)

Replaces an item with another one in the dictionary.

Declaration
public virtual void SetItem(TKey key, TValue value, TValue oldValue, AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices)
Parameters
Type Name Description
TKey key
TValue value
TValue oldValue
AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices
Implements
IDictionaryDynamicAdvice<TKey, TValue>.SetItem(TKey, TValue, TValue, AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>>)