PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Hash­Set(T) Class/Advisable­Hash­Set(T) Methods/Advisable­Hash­Set(T).​Change­Many­Items Method

AdvisableHashSet<T>.ChangeManyItems Method

Modifies the underlying set by adding and removing the specified items.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
protected virtual void ChangeManyItems(
	IList<T> itemsToAdd,
	IList<T> itemsToRemove
)

Parameters

itemsToAdd
Type: System.Collections.Generic.IList<T>
The objects to insert. The value can be null for reference types.
itemsToRemove
Type: System.Collections.Generic.IList<T>
The objects to remove. 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