Skip to content

BBCodeCommandBase Class

The base class for a BBCode command.

C#
public abstract class BBCodeCommandBase : ParseCommandBase

Inheritance objectParseCommandBase

C#
protected BBCodeCommandBase()

The tag used to create this command.

C#
public string Tag { get; protected set; }

SetBBCode(string, string?, Dictionary<string, string>?)

Section titled “SetBBCode(string, string?, Dictionary<string, string>?)”

Provides the information about the tag that triggered this command.

C#
public abstract void SetBBCode(string tag, string? value, Dictionary<string, string>? parameters)

tag string
The BBCode tag condition that triggered the command.

value string
Optional value provided by the BBCode.

parameters Dictionary<string, string>
Optional parameters provided by the BBCode.