public sealed record RunicCollectionChange : IEquatable<RunicCollectionChange> One keyed collection edit of a delta frame.
Parameters
FieldThe collection's wire name.
Kindadd,remove,replaceormove.IndexWhere the rows are added, removed, replaced or moved to.
OldIndexWhere moved or replaced rows were.
KeysThe keys of the added rows, or of the rows before the edit.
ItemsThe added or replacement rows.
Constructors
RunicCollectionChange
public RunicCollectionChange(string Field, string Kind, int Index, int OldIndex, IReadOnlyList<string> Keys, IReadOnlyList<JsonElement> Items) One keyed collection edit of a delta frame.
Parameters
FieldThe collection's wire name.
Kindadd,remove,replaceormove.IndexWhere the rows are added, removed, replaced or moved to.
OldIndexWhere moved or replaced rows were.
KeysThe keys of the added rows, or of the rows before the edit.
ItemsThe added or replacement rows.
Properties
Field
public string Field { get; init; } The collection's wire name.
Index
public int Index { get; init; } Where the rows are added, removed, replaced or moved to.
Keys
public IReadOnlyList<string> Keys { get; init; } The keys of the added rows, or of the rows before the edit.
Kind
public string Kind { get; init; } add, remove, replace or move.
OldIndex
public int OldIndex { get; init; } Where moved or replaced rows were.