ParseCommandStacks Class
Definition
Section titled “Definition”A list of behaviors applied as a string is processed.
public class ParseCommandStacksInheritance object
Constructors
Section titled “Constructors”ParseCommandStacks()
Section titled “ParseCommandStacks()”Creates new stacks of commands.
public ParseCommandStacks()Properties
Section titled “Properties”Foreground
Section titled “Foreground”The commands that affect the foreground.
public Stack<ParseCommandBase> Foreground { get; set; }Background
Section titled “Background”The commands that affect the background.
public Stack<ParseCommandBase> Background { get; set; }The commands that affect the glyph.
public Stack<ParseCommandBase> Glyph { get; set; }Mirror
Section titled “Mirror”The commands that affect the mirror setting.
public Stack<ParseCommandBase> Mirror { get; set; }Effect
Section titled “Effect”The commands that affect the glyph effect.
public Stack<ParseCommandBase> Effect { get; set; }Decorator
Section titled “Decorator”The commands that affect the glyph decorators.
public Stack<ParseCommandBase> Decorator { get; set; }All commands.
public Stack<ParseCommandBase> All { get; set; }CalculatedDecorators
Section titled “CalculatedDecorators”Returns the active array that is calculated from the Decorator stack.
public CellDecorator[] CalculatedDecorators { get; set; }Methods
Section titled “Methods”AddSafe(ParseCommandBase)
Section titled “AddSafe(ParseCommandBase)”Adds a behavior to the All collection and the collection based on the CommandType type.
public void AddSafe(ParseCommandBase command)Parameters
Section titled “Parameters”command ParseCommandBase
RemoveSafe(ParseCommandBase)
Section titled “RemoveSafe(ParseCommandBase)”Removes a command from the appropriate command stack and from the All stack.
public void RemoveSafe(ParseCommandBase command)Parameters
Section titled “Parameters”command ParseCommandBase
The command to remove