PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesCollection­Dynamic­Advice<T>Move­Item
Open sandboxFocus

CollectionDynamicAdvice<T>.MoveItem Method

MoveItem(T, Int32, Int32, AdviceEnumerator<ICollectionDynamicAdvice<T>>)

Moves an item of the advised collection from an old index to a new index.

Declaration
public virtual void MoveItem(T item, int oldIndex, int newIndex, AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices)
Parameters
Type Name Description
T item
System.Int32 oldIndex
System.Int32 newIndex
AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
Implements
ICollectionDynamicAdvice<T>.MoveItem(T, Int32, Int32, AdviceEnumerator<ICollectionDynamicAdvice<T>>)