Generated by DocFX

Class Suggestion

Class which refines an auto suggestion result

Inheritance
System.Object
Suggestion
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dotnet.Shell.Logic.Suggestions
Assembly: dotnet-shell-lib.dll
Syntax
public class Suggestion

Properties

| Improve this Doc View Source

CompletionText

Gets or sets the completion text. This is the substring to be added to the current command line input text. This might be something like teLine when Console.Wri was typed

Declaration
public string CompletionText { get; set; }
Property Value
Type Description
System.String

The completion text.

| Improve this Doc View Source

FullText

Gets or sets the full text. This might be something like WriteLine when Console.Wri was typed

Declaration
public ColorString FullText { get; set; }
Property Value
Type Description
ColorString

The full text.

| Improve this Doc View Source

Index

Gets or sets the index. This is the position the new text should be inserted at

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32

The index.

Methods

| Improve this Doc View Source

Equals(Object)

Determines whether the specified System.Object, is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare with this instance.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()