Table of Contents

Struct PluginCommandCompletion

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

A completion candidate returned for a partially typed command.

public readonly record struct PluginCommandCompletion : IEquatable<PluginCommandCompletion>
Implements
Inherited Members

Constructors

PluginCommandCompletion(string, string?)

A completion candidate returned for a partially typed command.

public PluginCommandCompletion(string Text, string? Description = null)

Parameters

Text string

The text the completion would put in place of what was typed.

Description string

A short explanation shown beside the candidate, or null for none.

Properties

Description

A short explanation shown beside the candidate, or null for none.

public string? Description { get; init; }

Property Value

string

Text

The text the completion would put in place of what was typed.

public string Text { get; init; }

Property Value

string