PostSharpAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesIDictionary­Dynamic­Advice<TKey, TValue>To­Array
Open sandboxFocus

IDictionaryDynamicAdvice<TKey, TValue>.ToArray Method

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

Copies the dictionary to an array of keys and values.

Declaration
KeyValuePair<TKey, TValue>[] ToArray(AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices)
Parameters
Type Name Description
AdviceEnumerator<IDictionaryDynamicAdvice<TKey, TValue>> nextAdvices
Returns
Type Description
KeyValuePair<TKey, TValue>[]