VdomSpectreTranslator.NormalizedText

Struct

Represents normalized text with information about whitespace.

Namespace: RazorConsole.Core.Rendering.Vdom
Assembly: RazorConsole.Core

Definition

public readonly struct VdomSpectreTranslator.NormalizedText : IEquatable<VdomSpectreTranslator.NormalizedText>

Constructors

1
NameTypeDescription
NormalizedText(string, bool, bool, bool)()ConstructorRepresents normalized text with information about whitespace.

Properties

4
NameTypeDescription
Common
ContentString—
HasContentBoolean—
Other
LeadingWhitespaceBoolean—
TrailingWhitespaceBoolean—

Methods

5
NameTypeDescription
Deconstruct(out string, out bool, out bool, out bool)()Method—
Equals(NormalizedText)()Boolean—
Equals(object)()Boolean—
GetHashCode()Int32—
ToString()String—

Operators

2
NameTypeDescription
operator ==(NormalizedText, NormalizedText)()Boolean—
operator !=(NormalizedText, NormalizedText)()Boolean—