PostSharp 6.5 / / 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).​Change­Many Method

HashSetDynamicAdvice<T>.ChangeMany Method

Adds and/or removes several items to or from the hash set.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.16.0 (6.5.16.0)
Syntax
C#
public virtual void ChangeMany(
	AdviceEnumerator<IHashSetDynamicAdvice<T>> nextAdvices,
	IList<T> itemsToAdd,
	IList<T> itemsToRemove
)

Parameters

nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<IHashSetDynamicAdvice<T>>
itemsToAdd
Type: System.Collections.Generic.IList<T>
itemsToRemove
Type: System.Collections.Generic.IList<T>

Implements

IHashSetDynamicAdvice<T>.ChangeMany(AdviceEnumerator<IHashSetDynamicAdvice<T>>, IList<T>, IList<T>)
See Also