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.5.21.0 (6.5.21.0)
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.
This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method. |