RemoteCollectionChanges Class

Definition

[System.Runtime.Serialization.DataContract]
public sealed class RemoteCollectionChanges
[<System.Runtime.Serialization.DataContract>]
type RemoteCollectionChanges = class
Public NotInheritable Class RemoteCollectionChanges
Inheritance
RemoteCollectionChanges
Attributes

Properties

Action

Gets the action that caused the event.

NewItems

Gets the list of new items involved in the change.

NewStartingIndex

Gets the zero-based index of the new location at which a Replace, Add, or Move change occurred or -1 when unused.

OldItems

Gets the list of items affected by a Replace, or Remove, action. This property is omitted in events sent for IList collections for which the change can be fully defined by OldItemsCount and OldStartingIndex.

OldItemsCount

Gets the number of existing items affected by the change or -1 when unused. This value is useful for Remove, or Replace events of IList collections where OldItems is omitted.

OldStartingIndex

Gets the zero-based index of the old location at which a Move, Remove, or Replace change occurred or -1 when unused.

Methods

Add(IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Add event raised by a non-indexed collection.

Add(Int32, IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Add event raised by an indexed collection.

Move(Int32, Int32, Int32)

Constructs an instance of RemoteCollectionChanges for a Move event.

Remove(IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by a non-indexed collection.

Remove(Int32, Int32)

Constructs an instance of RemoteCollectionChanges for a Remove event raised by an indexed collection.

Replace(IList<MessagePackFragment>, IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Replace event raised by a non-indexed collection.

Replace(Int32, Int32, IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Replace event raised by an indexed collection.

Reset(IList<MessagePackFragment>)

Constructs an instance of RemoteCollectionChanges for a Reset event.

Applies to