PostSharp//API Reference/Post­Sharp.​Patterns.​Collections.​Advices/Hash­Set­Dynamic­Advice<T>/Add­Item
Open sandboxFocus

Method AddItem

AddItem(T, AdviceEnumerator<IHashSetDynamicAdvice<T>>)

Adds an item to the hash set.

Declaration
public virtual void AddItem(T item, AdviceEnumerator<IHashSetDynamicAdvice<T>> nextAdvices)
Parameters
Type Name Description
T item
AdviceEnumerator<IHashSetDynamicAdvice<T>> nextAdvices
Implements
IHashSetDynamicAdvice<T>.AddItem(T, AdviceEnumerator<IHashSetDynamicAdvice<T>>)