PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / Hash­Set­Dynamic­Advice(T) Class / Hash­Set­Dynamic­Advice(T) Methods / Hash­Set­Dynamic­Advice(T).​Add­Item Method

HashSetDynamicAdvice<T>.AddItem Method

Adds an item to the hash set.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public virtual void AddItem(
	T item,
	AdviceEnumerator<IHashSetDynamicAdvice<T>> nextAdvices
)

Parameters

item
Type: T
nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<IHashSetDynamicAdvice<T>>

Implements

IHashSetDynamicAdvice<T>.AddItem(T, AdviceEnumerator<IHashSetDynamicAdvice<T>>)
See Also