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).​To­Array Method

IDictionaryDynamicAdvice<TKey, TValue>.ToArray Method

Copies the dictionary to an array of keys and values.

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#
KeyValuePair<TKey, TValue>[] ToArray(
	AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices
)

Parameters

nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>>

Return Value

Type: KeyValuePair<TKey, TValue>[]
See Also