RunicCollectionAttribute class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed class RunicCollectionAttribute : Attribute

Inherits or implements Attribute.

Publishes indexed changes for a collection whose items have a stable, unique key.

Remarks

Supports immutable replacements and property notifications on row objects. Notifications below a row remain supported through full snapshots. Keys must not change during a row's lifetime. A list too large to publish whole is a RunicQueryCollection, whose rows each presentation reads for its own range.

Constructors

RunicCollectionAttribute

public RunicCollectionAttribute(string keyProperty)

Publishes indexed changes for a collection whose items have a stable, unique key.

Remarks

Supports immutable replacements and property notifications on row objects. Notifications below a row remain supported through full snapshots. Keys must not change during a row's lifetime. A list too large to publish whole is a RunicQueryCollection, whose rows each presentation reads for its own range.

Properties

KeyProperty

public string KeyProperty { get; }

The item property containing a string, Guid, Int32 or Int64 (long) key.