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
TextstringThe text the completion would put in place of what was typed.
DescriptionstringA 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
Text
The text the completion would put in place of what was typed.
public string Text { get; init; }