Sisk

Constructor

RenderableText constructor

Namespace
TinyComponents
Assembly
TinyComponents.dll

RenderableText(object?) #

Creates an new instance of RenderableText with the specified text contents from the object, encoding it as an HTML entity.

C#
public RenderableText(object? textContents)

Parameters #

textContents object?

The object which will be encoded.

RenderableText(object?, bool) #

Creates an new instance of RenderableText with the specified text contents from the object.

C#
public RenderableText(object? textContents, bool escape)

Parameters #

textContents object?

The object which will be encoded.

escape bool

Determines if the text contents should be HTML encoded or not.

Type to search the documentation and the API reference.