RunicViewPublication class

Namespace Runic.Application.Testing · Runic.Application.Testing 0.7.0-preview.5

public sealed class RunicViewPublication

A frame that .NET pushed to a View route, in the order the test transport observed it.

Properties

BaseRevision

public long? BaseRevision { get; }

For a delta, the revision the changes apply to.

Changes

public IReadOnlyList<RunicCollectionChange> Changes { get; }

For a delta, its changes in order; otherwise empty.

ErrorKind

public string? ErrorKind { get; }

For a failure notice, its BridgeError kind.

ErrorMessage

public string? ErrorMessage { get; }

For a failure notice, its message.

Json

public string Json { get; }

The frame as .NET serialized it.

Kind

public RunicPublicationKind Kind { get; }

What the frame carries.

Revision

public long Revision { get; }

The revision of the state after this frame.

Route

public string Route { get; }

The route the frame was pushed to, such as shell or content1.

State

public JsonElement? State { get; }

For a full state, the state.

Methods

ToString

public override string ToString()

Inherits documentation from Object.ToString.