다음을 통해 공유


RemoteCollectionChanges 클래스

정의

[System.Runtime.Serialization.DataContract]
public sealed class RemoteCollectionChanges
[<System.Runtime.Serialization.DataContract>]
type RemoteCollectionChanges = class
Public NotInheritable Class RemoteCollectionChanges
상속
RemoteCollectionChanges
특성

속성

Action

이벤트를 발생시킨 작업을 가져옵니다.

NewItems

변경에 관련된 새 항목의 목록을 가져옵니다.

NewStartingIndex

, Add또는 변경이 발생한 새 위치Replace의 인덱스(0부터 시작)를 가져오거나 Move 사용하지 않는 경우 -1을 가져옵니다.

OldItems

또는 Remove작업의 영향을 받는 Replace항목 목록을 가져옵니다. 이 속성은 및 OldStartingIndex에서 변경 사항을 완전히 정의 OldItemsCount 할 수 있는 컬렉션에 대해 전송 IList 된 이벤트에서 생략됩니다.

OldItemsCount

변경의 영향을 받는 기존 항목의 수를 가져오거나 사용하지 않는 경우 -1을 가져옵니다. 이 값은 가 생략된 컬렉션 OldItemsIList 또는 Replace 이벤트에 유용합니다Remove.

OldStartingIndex

, Remove또는 변경이 발생한 이전 위치Move의 인덱스(0부터 시작)를 가져오거나 Replace 사용하지 않는 경우 -1을 가져옵니다.

메서드

Add(IList<MessagePackFragment>)

인덱싱되지 않은 컬렉션에서 Add 발생한 이벤트에 대한 의 RemoteCollectionChanges instance 생성합니다.

Add(Int32, IList<MessagePackFragment>)

인덱싱된 컬렉션에서 발생하는 이벤트에 대한 AddRemoteCollectionChanges instance 생성합니다.

Move(Int32, Int32, Int32)

이벤트에 대한 의 instance RemoteCollectionChanges 생성합니다Move.

Remove(IList<MessagePackFragment>)

인덱싱되지 않은 컬렉션에서 Remove 발생한 이벤트에 대한 의 RemoteCollectionChanges instance 생성합니다.

Remove(Int32, Int32)

인덱싱된 컬렉션에서 발생하는 이벤트에 대한 RemoveRemoteCollectionChanges instance 생성합니다.

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

인덱싱되지 않은 컬렉션에서 Replace 발생한 이벤트에 대한 의 RemoteCollectionChanges instance 생성합니다.

Replace(Int32, Int32, IList<MessagePackFragment>)

인덱싱된 컬렉션에서 발생하는 이벤트에 대한 ReplaceRemoteCollectionChanges instance 생성합니다.

Reset(IList<MessagePackFragment>)

이벤트에 대한 의 instance RemoteCollectionChanges 생성합니다Reset.

적용 대상