RunicViewPublication class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicViewPublication

One push of a route's state: a full state, a frame of changes, or a failure notice.

Properties

BaseRevision

public long? BaseRevision { get; }

The revision a frame applies to.

Changes

public IReadOnlyList<RunicCollectionChange> Changes { get; }

A frame's keyed collection changes, in order.

ErrorKind

public string? ErrorKind { get; }

A failure notice's error kind.

ErrorMessage

public string? ErrorMessage { get; }

A failure notice's message.

Fields

public JsonElement? Fields { get; }

A full state's checked field versions, {member: {version}}, when the View has checked fields.

Json

public string Json { get; }

The push as JSON.

Kind

public RunicPublicationKind Kind { get; }

A full state, a frame or a failure notice.

Revision

public long Revision { get; }

The revision of the state or frame; for a failure, the producer's current revision.

Route

public string Route { get; }

The route.

Sets

public IReadOnlyList<RunicMemberSet> Sets { get; }

A frame's member set changes.

Splices

public IReadOnlyList<RunicTextSplice> Splices { get; }

A frame's text member splices (text-splice/1), in order.

State

public JsonElement? State { get; }

A full state's members.

Texts

public IReadOnlyList<RunicTextChange> Texts { get; }

A frame's text changes.

Methods

ToString

public override string ToString()

Inherits documentation from Object.ToString.