PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Collections.​Advices Namespace/ICollection­Dynamic­Advice(T) Interface/ICollection­Dynamic­Advice(T) Methods/ICollection­Dynamic­Advice(T).​Clear­Items Method

ICollectionDynamicAdvice<T>.ClearItems Method

Empties the advised collection.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.12.0 (6.6.12.0)
Syntax
C#
void ClearItems(
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

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