RunicFieldWriteReceipt<TModel> class

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

public sealed class RunicFieldWriteReceipt<TModel> where TModel : class

The receipt of a checked field write.

Properties

ErrorMessage

public string? ErrorMessage { get; }

Why the write was rejected, conflicted or failed, or why its validation did not complete; null for an applied write.

Json

public string Json { get; }

The reply as .NET serialized it.

Kind

public RunicFieldWriteReceiptKind Kind { get; }

How the write ended.

Route

public string Route { get; }

The write route that was called.

State

public RunicViewState<TModel>? State { get; }

The route's state after the write, read when the reply carries a revision.

Value

public JsonElement? Value { get; }

The field value after the write, or the current value of a conflict.

Version

public long? Version { get; }

The field version that goes with RunicFieldWriteReceipt.Value.

Methods

ToString

public override string ToString()

Inherits documentation from Object.ToString.