RunicFieldWriteReceipt<TModel> class

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

public sealed class RunicFieldWriteReceipt<TModel> where TModel : class

The receipt of a checked field write.

Properties

Json

public string Json { get; }

The reply as .NET serialized it.

Kind

public string Kind { get; }

applied, committed-with-error, conflict or rejected; failed when the route replied with an error instead of a receipt.

Message

public string? Message { get; }

Why the write was rejected or conflicted.

Route

public string Route { get; }

The write route that was called.

State

public RunicViewState<TModel>? State { get; }

The state after the write, when the reply carries one.

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.