Table of Contents

Class TerminalAsciiTextHandler

Namespace
OneImlx.Terminal.Runtime
Assembly
OneImlx.Terminal.dll
public sealed class TerminalAsciiTextHandler : ITerminalTextHandler
Inheritance
TerminalAsciiTextHandler
Implements
Inherited Members

Properties

Comparison

The InvariantCultureIgnoreCase string comparison.

public StringComparison Comparison { get; }

Property Value

StringComparison

Encoding

The ASCII text encoding.

public Encoding Encoding { get; }

Property Value

Encoding

Methods

EqualityComparer()

Returns the InvariantCultureIgnoreCase equality comparer.

public IEqualityComparer<string> EqualityComparer()

Returns

IEqualityComparer<string>

TextEquals(string?, string?)

Determines whether the two ASCII texts are equal using Comparison.

public bool TextEquals(string? s1, string? s2)

Parameters

s1 string

The first text to compare.

s2 string

The second text to compare.

Returns

bool

true if the texts are equal, false otherwise.

TextLength(string?)

Returns the ASCII text length.

public int TextLength(string? s1)

Parameters

s1 string

Returns

int