Class Suggestion
Class which refines an auto suggestion result
Inheritance
Inherited Members
Namespace: Dotnet.Shell.Logic.Suggestions
Assembly: dotnet-shell-lib.dll
Syntax
public class Suggestion
Properties
| Improve this Doc View SourceCompletionText
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. |
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. |
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 SourceEquals(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 |
|
Overrides
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. |