PostSharp//API Reference/Post­Sharp.​Patterns.​Collections.​Advices/Collection­Dynamic­Advice<T>/Clear­Items
Open sandboxFocus

Method ClearItems

ClearItems(AdviceEnumerator<ICollectionDynamicAdvice<T>>)

Empties the advised collection.

Declaration
public virtual void ClearItems(AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices)
Parameters
Type Name Description
AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
Implements
ICollectionDynamicAdvice<T>.ClearItems(AdviceEnumerator<ICollectionDynamicAdvice<T>>)