Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Hash­Set(T) Class / Advisable­Hash­Set(T) Methods / Advisable­Hash­Set(T).​Add­Item Method

AdvisableHashSet<T>.AddItem Method

Inserts an element into the underlying set.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.3.0 (6.1.3.0)
Syntax
C#
protected virtual void AddItem(
	T item
)

Parameters

item
Type: T
The object to insert. The value can be null for reference types.
Remarks

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

See Also