LiteralInline Class

A literal inline.

public class LiteralInline : LeafInline

See also

Inheritance
LeafInline LiteralInline

Constructors

NameDescription
LiteralInline()Initializes a new instance of the LiteralInline class.
LiteralInline(StringSlice)Initializes a new instance of the LiteralInline class.
LiteralInline(string)Initializes a new instance of the LiteralInline class.

LiteralInline overloads

LiteralInline()

LiteralInline.cs

Initializes a new instance of the LiteralInline class.

public LiteralInline()

LiteralInline(StringSlice)

LiteralInline.cs

Initializes a new instance of the LiteralInline class.

public LiteralInline(StringSlice content)
Parameters
content StringSlice
The content.

LiteralInline(string)

LiteralInline.cs

Initializes a new instance of the LiteralInline class.

public LiteralInline(string text)
Parameters
text string
The text.
Exceptions
ArgumentNullException

Properties

NameDescription
IsFirstCharacterEscapedA boolean indicating whether the first character of this literal is escaped by `\`.

IsFirstCharacterEscaped

LiteralInline.cs

A boolean indicating whether the first character of this literal is escaped by `\`.

public bool IsFirstCharacterEscaped { get; set; }

Property value

bool

Methods

NameDescription
ToString()Performs the to string operation.

Performs the to string operation.

public override string ToString()

Returns

string

Fields

NameDescription
ContentThe content as a StringSlice.

Content

The content as a StringSlice.

public StringSlice Content