Table of Contents

Class VerbCompletion

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

Which argument of a verb is being written, as the arguments are typed (VerbDescriptor).

public static class VerbCompletion
Inheritance
VerbCompletion
Inherited Members

Methods

Read(VerbDescriptor, string)

The arguments that can be the one at the end of arguments: one for each form of the verb that what is typed is the start of.

public static IReadOnlyList<VerbCompletionSite> Read(VerbDescriptor verb, string arguments)

Parameters

verb VerbDescriptor

The verb.

arguments string

What is typed after the verb, up to the cursor, as it is typed: not trimmed.

Returns

IReadOnlyList<VerbCompletionSite>

SettingPartsAfter(IEnumerable<SettingDescriptor>, string)

What a key of a setting can go on as, after what is typed of it (Setting): the next part of the keys that start with what is typed up to its last . - a section, or the name of a setting in it.

public static IReadOnlyList<(string Part, SettingDescriptor? Setting)> SettingPartsAfter(IEnumerable<SettingDescriptor> settings, string typed)

Parameters

settings IEnumerable<SettingDescriptor>

The settings.

typed string

What is typed of the key: server.Ve.

Returns

IReadOnlyList<(string Part, SettingDescriptor Setting)>

Each part once, in the order of the settings, with the setting it is the name of; null for a section.