PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Clear­Items
Open sandboxFocus

AdvisableCollection<T>.ClearItems Method

ClearItems()

Removes all elements from the underlying collection.

Declaration
protected virtual void ClearItems()
Remarks

note

This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method.