TextCompletionContext Klass

Definition

Innehåller information om hur du beräknar slutföranden i samband med fullständig, ouppsliten kommandoradstext.

public ref class TextCompletionContext : System::CommandLine::Completions::CompletionContext
public class TextCompletionContext : System.CommandLine.Completions.CompletionContext
type TextCompletionContext = class
    inherit CompletionContext
Public Class TextCompletionContext
Inherits CompletionContext
Arv
TextCompletionContext

Egenskaper

Name Description
CommandLineText

Den fullständiga texten på kommandoraden före delning, inklusive eventuella ytterligare blanksteg.

CursorPosition

Markörens position på kommandoraden.

ParseResult

Det parsningsresultat som slutföranden begärs för.

(Ärvd från CompletionContext)
WordToComplete

Texten i ordet som ska slutföras, om någon.

(Ärvd från CompletionContext)

Metoder

Name Description
AtCursorPosition(Int32)

Skapar en ny instans av TextCompletionContext på den angivna markörens position.

Gäller för