PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / ICollection­Dynamic­Advice(T) Interface / ICollection­Dynamic­Advice(T) Methods / ICollection­Dynamic­Advice(T).​To­Array Method

ICollectionDynamicAdvice<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.5.19.0 (6.5.19.0)
Syntax
C#
T[] ToArray(
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

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

Return Value

Type: T[]
See Also