PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Collections.​Advices Namespace/IDictionary­Dynamic­Advice(TKey, TValue) Interface/IDictionary­Dynamic­Advice(TKey, TValue) Methods/IDictionary­Dynamic­Advice(TKey, TValue).​Add­Item Method

IDictionaryDynamicAdvice<TKey, TValue>.AddItem Method

Adds an item to the dictionary.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
void AddItem(
	TKey key,
	TValue value,
	AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices
)

Parameters

key
Type: TKey
value
Type: TValue
nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>>
See Also