Table of Contents

Class VerbCompletionSite

Namespace
RDCore.SDK.Platform.Commands
Assembly
RDCore.SDK.dll

The argument of a verb that is being written, and what of it is typed.

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

Constructors

VerbCompletionSite(VerbArgument, string, IReadOnlyDictionary<string, string>)

The argument of a verb that is being written, and what of it is typed.

public VerbCompletionSite(VerbArgument Argument, string Typed, IReadOnlyDictionary<string, string> Written)

Parameters

Argument VerbArgument

The argument.

Typed string

What is typed of it: the word being written, for an argument that is one word; everything after where it starts, for one that takes the rest of the line.

Written IReadOnlyDictionary<string, string>

The arguments of the form that are written before it, by their Name: the line an expression is evaluated at.

Properties

Argument

The argument.

public VerbArgument Argument { get; init; }

Property Value

VerbArgument

EvaluatedAt

The line an Expression is evaluated at (EvaluatedAt), as it is written; null when it is evaluated at none.

public string? EvaluatedAt { get; }

Property Value

string

Form

The arguments of the form the argument is of, in the order they are written.

public IReadOnlyList<VerbArgument> Form { get; init; }

Property Value

IReadOnlyList<VerbArgument>

Setting

The setting a SettingValue is a value of (ValueOf), as its key is written before it; null when it is of no setting the form knows.

public SettingDescriptor? Setting { get; }

Property Value

SettingDescriptor

Typed

What is typed of it: the word being written, for an argument that is one word; everything after where it starts, for one that takes the rest of the line.

public string Typed { get; init; }

Property Value

string

Written

The arguments of the form that are written before it, by their Name: the line an expression is evaluated at.

public IReadOnlyDictionary<string, string> Written { get; init; }

Property Value

IReadOnlyDictionary<string, string>