PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / IHash­Set­Dynamic­Advice(T) Interface / IHash­Set­Dynamic­Advice(T) Methods / IHash­Set­Dynamic­Advice(T).​Change­Many Method

IHashSetDynamicAdvice<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.9.1.0 (6.9.1.0)
Syntax
C#
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>
See Also