Class VtSequenceBuilderTools
VT sequence builder tools
Inheritance
object
VtSequenceBuilderTools
Namespace: Terminaux.Sequences.Builder
Assembly: Terminaux.dll
Syntax
public static class VtSequenceBuilderTools
Methods
| Edit this page View SourceBuildVtSequence(VtSequenceSpecificTypes, params object[])
Builds a VT sequence using specific types
Declaration
public static string BuildVtSequence(VtSequenceSpecificTypes specificType, params object[] arguments)
Parameters
| Type | Name | Description |
|---|---|---|
| VtSequenceSpecificTypes | specificType | A specific type |
| object[] | arguments | List of arguments. Review the parameters of the generated methods for more info. |
Returns
| Type | Description |
|---|---|
| string | A VT sequence that you can insert to the string builder or print to the console |
Exceptions
| Type | Condition |
|---|---|
| TerminauxException |
DetermineTypesFromSequence(string)
Determines the VT sequence types from the given sequence
Declaration
public static IEnumerable<(VtSequenceType, VtSequenceSpecificTypes)> DetermineTypesFromSequence(string sequence)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sequence | The sequence to query |
Returns
| Type | Description |
|---|---|
| IEnumerable<(VtSequenceType, VtSequenceSpecificTypes)> | An array of a tuple of (VtSequenceType, VtSequenceSpecificTypes) containing information about a sequence type and a sequence command type, or an empty array if nothing is found |