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

HashSetDynamicAdvice<T>.ToArray Method

Copies the hash set to an array.

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

Parameters

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

Return Value

Type: T[]

Implements

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