PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / Collection­Dynamic­Advice(T) Class / Collection­Dynamic­Advice(T) Methods / Collection­Dynamic­Advice(T).​Remove­Many Method

CollectionDynamicAdvice<T>.RemoveMany Method

Removes several items from the advised collection.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public virtual void RemoveMany(
	int index,
	T[] itemsToRemove,
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

index
Type: System.Int32
itemsToRemove
Type: T[]
nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<ICollectionDynamicAdvice<T>>

Implements

ICollectionDynamicAdvice<T>.RemoveMany(Int32, T[], AdviceEnumerator<ICollectionDynamicAdvice<T>>)
See Also