PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / Collection­Dynamic­Advice(T) Class / Collection­Dynamic­Advice(T) Methods / Collection­Dynamic­Advice(T).​To­Array Method

CollectionDynamicAdvice<T>.ToArray Method

Copies the advised collection into a new array.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public virtual T[] ToArray(
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<ICollectionDynamicAdvice<T>>

Return Value

Type: T[]

Implements

ICollectionDynamicAdvice<T>.ToArray(AdviceEnumerator<ICollectionDynamicAdvice<T>>)
See Also