RunicTextSplice record

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

public sealed record RunicTextSplice : IEquatable<RunicTextSplice>

Inherits or implements IEquatable.

A text member's splice in a frame (text-splice/1): a splice change.

Parameters

Field

The text member's wire name.

Length

The length, in UTF-16 code units, of the value the splice applies to.

Index

The UTF-16 code unit where the splice starts.

Delete

The number of UTF-16 code units it removes there.

Text

The text it inserts there.

Version

The checked field's version after the frame, or null for another member.

Constructors

RunicTextSplice

public RunicTextSplice(string Field, int Length, int Index, int Delete, string Text, long? Version)

A text member's splice in a frame (text-splice/1): a splice change.

Parameters

Field

The text member's wire name.

Length

The length, in UTF-16 code units, of the value the splice applies to.

Index

The UTF-16 code unit where the splice starts.

Delete

The number of UTF-16 code units it removes there.

Text

The text it inserts there.

Version

The checked field's version after the frame, or null for another member.

Properties

Delete

public int Delete { get; init; }

The number of UTF-16 code units it removes there.

Field

public string Field { get; init; }

The text member's wire name.

Index

public int Index { get; init; }

The UTF-16 code unit where the splice starts.

Length

public int Length { get; init; }

The length, in UTF-16 code units, of the value the splice applies to.

Text

public string Text { get; init; }

The text it inserts there.

Version

public long? Version { get; init; }

The checked field's version after the frame, or null for another member.