PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Add­Item
Open sandboxFocus

AdvisableHashSet<T>.AddItem Method

AddItem(T)

Inserts an element into the underlying set.

Declaration
protected virtual void AddItem(T item)
Parameters
Type Name Description
T item

The object to insert. The value can be null for reference types.

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.