Table of Contents

Class RenderableText

Namespace
TinyComponents
Assembly
TinyComponents.dll

Represents an simple renderable text.

public sealed class RenderableText
Inheritance
RenderableText
Inherited Members

Constructors

RenderableText(object?)

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

RenderableText(object?, bool)

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

Properties

Contents

Gets or sets the contents which this text will render.

Escape

Gets or sets whether this text should be XML/HTML encoded or not.

Methods

Raw(object?)

Creates an new instance of RenderableText with the provided raw, unencoded text.

SafeRenderSubject(object?)

Renders the specified object into an safe HTML content.

ToString()

Renders this RenderableText into an string.