Table of Contents

Class RefactorAnswer

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.Protocol.dll

The user's answer to one choice.

public sealed record RefactorAnswer : IEquatable<RefactorAnswer>
Inheritance
RefactorAnswer
Implements
Inherited Members

Properties

Id

The choice it answers (Id).

public string Id { get; init; }

Property Value

string

Items

For a list, each item's answers, in the order the user put the items in; an item that is not here is kept as it is, where it is.

public IReadOnlyList<RefactorItemAnswer> Items { get; init; }

Property Value

IReadOnlyList<RefactorItemAnswer>

Value

A name, the value of an option, or true or false; null for a list, whose answer is its items'.

public string? Value { get; init; }

Property Value

string