PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Get­Count
Open sandboxFocus

AdvisableCollection<T>.GetCount Method

GetCount()

Gets the number of elements in the underlying collection.

Declaration
protected int GetCount()
Returns
Type Description
Int32

The number of elements in the collection.

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.