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).​Clear­Items Method

CollectionDynamicAdvice<T>.ClearItems Method

Empties the advised collection.

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 void ClearItems(
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

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

Implements

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