BBCodeDocument Class

Represents an entire BBCode document. Similar to the HTML tag <body>

Definition

Namespace: DevCase.Core.DataProcessing.Html.BBCode
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class BBCodeDocument : BBCodeNode
Inheritance
Object    BBCodeNode    BBCodeDocument

Constructors

BBCodeDocument Initializes a new instance of the BBCodeDocument class.

Properties

Attribute Gets or sets this node's attribute.

The Attribute is the part of the tag that comes after the equals sign.

It is optional, and this property may return either null or an empty string.
(Inherited from BBCodeNode)

Children Gets an array of this node's child nodes
(Inherited from BBCodeNode)
ItemInt32 Gets the child BBCodeNode.
(Inherited from BBCodeNode)
ItemString Gets an array of children BBCodeNode with the specified TagName
(Inherited from BBCodeNode)
Parent Gets the parent node of this node.
(Inherited from BBCodeNode)
Singular Gets a value indicating whether this node is singular.

Singular nodes are self closing and can have no children.
(Inherited from BBCodeNode)

TagName Gets the tag name of this node.

The tag name is the main part of the tag, and is mandatory.
(Inherited from BBCodeNode)

Methods

AppendChild(BBCodeNode) Adds a new child node at the end of this node's descendants.
(Inherited from BBCodeNode)
AppendChild(String) Adds a new child node at the end of this node's descendants.
(Inherited from BBCodeNode)
AppendChild(String, String) Adds a new child node at the end of this node's descendants
(Inherited from BBCodeNode)
Clone Creates a recursive copy of the current nodes and its children.
(Inherited from BBCodeNode)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
InsertAfter Inserts a new child node after the reference node passed.
(Inherited from BBCodeNode)
InsertBefore Inserts a new child node before the reference node passed.
(Inherited from BBCodeNode)
Load(String) Loads a string of BBCode as a BBCodeDocument object
Load(String, Boolean) Loads a string of BBCode as a BBCodeDocument object
Load(String, Boolean, IEnumerableString) Loads a string of BBCode as a BBCodeDocument object
PrependChild Adds a new child node at the beginning of this node's descendants.
(Inherited from BBCodeNode)
RemoveAll Removes all child nodes.
(Inherited from BBCodeNode)
RemoveChild Removes a specific child node.
(Inherited from BBCodeNode)
ReplaceChild Replaces a specific child node with another.
(Inherited from BBCodeNode)
ToString Recursively generates the BBCode representation of the current node and its children.
(Inherited from BBCodeNode)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also