Table of Contents

Constructor RenderableText

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.

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.

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.