Click or drag to resize

Page Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:Monkeyspeak.Page"]

Inheritance Hierarchy
SystemObject
  MonkeyspeakPage

Namespace:  Monkeyspeak
Assembly:  Monkeyspeak (in Monkeyspeak.dll) Version: 7.0.10.28723 (7.0.10.28723)
Syntax
[SerializableAttribute]
public sealed class Page : IDisposable

The Page type exposes the following members.

Constructors
  NameDescription
Protected methodPage
Initializes a new instance of the Page class
Top
Properties
  NameDescription
Public propertyDebug
Gets or sets a value indicating whether this Page is in debug mode.
Public propertyEngine
Public propertyLibraries
Gets the libraries.
Public propertyScope
All variables loaded into this page
Public propertySize
Returns the Trigger count on this Page.
Top
Methods
  NameDescription
Protected methodAddBlocks
Protected methodCheckType
Public methodClear
Removes the triggers.
Public methodCompileToFile
Public methodCompileToStream
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodExecute(Int32, Object)
Executes a trigger block containing TriggerCategory.Cause with ID equal to id
Public methodExecute(Int32, Object)
Executes a trigger block containing TriggerCategory.Cause with ID equal to
Public methodExecute(TriggerCategory, Int32, Object)
Executes a trigger block containing cat with ID equal to id
Public methodExecuteAsync(Int32, Object)
Executes the specified Cause asynchronously.
Public methodExecuteAsync(CancellationToken, Int32, Object)
Executes the asynchronous.
Public methodExecuteAsync(TriggerCategory, Int32, Object)
Executes the specified Cause asynchronously.
Public methodExecuteAsync(TriggerCategory, Int32, Object)
Executes the specified Cause asynchronously.
Public methodExecuteAsync(CancellationToken, TriggerCategory, Int32, Object)
Executes the asynchronous.
Public methodExecuteAsync(CancellationToken, TriggerCategory, Int32, Object)
Executes the asynchronous.
Public methodExecuteBlock
Private methodExecuteTrigger
Protected methodGenerateBlocks
Public methodGetLibraryT
Public methodGetTriggerDescription
Gets the description for a trigger
Public methodGetTriggerDescriptions
Gets the description for all triggers
Public methodGetVariable
Gets a Variable with Name set to nameThrows Exception if Variable not found.
Public methodHasVariable(String)
Checks the scope for the Variable with Name set to name
Public methodHasVariableT(String, T)
Determines whether the specified variable exists.
Protected methodInitiate
Public methodLoadAllLibraries
Loads all libraries.
Public methodLoadCompiledStream
Public methodLoadDebugLibrary
Loads Monkeyspeak Debug Library into this Page

Used for Debug breakpoint insertion. Won't work without Debugger attached.

Public methodLoadIOLibrary
Loads Monkeyspeak IO Library into this Page

Used for File Input/Output operations

Public methodLoadLibrary
Loads a BaseLibrary into this Page
Public methodLoadLibraryFromAssembly(Assembly)
Loads trigger handlers from a assembly instance
Public methodLoadLibraryFromAssembly(String)
Loads trigger handlers from a assembly dll file
Public methodLoadMathLibrary
Loads Monkeyspeak Math Library into this Page

Used for Math operations (add, subtract, multiply, divide)

Public methodLoadStringLibrary
Loads Monkeyspeak String Library into this Page

Used for basic String operations

Public methodLoadSysLibrary
Loads Monkeyspeak Sys Library into this Page

Used for System operations involving the Environment or Operating System

Public methodLoadTimerLibrary
Loads Monkeyspeak Timer Library into this Page
Private methodRemoveAllTriggerHandlers
Removes all trigger handlers.
Public methodRemoveLibraryT
Public methodRemoveTriggerHandler(Trigger)
Removes the trigger handler.
Public methodRemoveTriggerHandler(TriggerCategory, Int32)
Removes the trigger handler.
Public methodRemoveVariable(String)
Removes the variable.
Public methodRemoveVariable(IVariable)
Removes the variable.
Public methodReset
Clears all Variables and optionally clears all TriggerHandlers from this Page.
Public methodSetTriggerHandler(Trigger, TriggerHandler, String)
Assigns the TriggerHandler to trigger
Public methodSetTriggerHandler(TriggerCategory, Int32, TriggerHandler, String)
Assigns the TriggerHandler to a trigger with category and id
Public methodSetVariable(String, Object, Boolean)
Sets the variable.
Public methodSetVariableT(T)
Sets the variable.
Public methodSetVariableTable
Sets the variable table.
Private methodTrimToLimit
Top
Events
  NameDescription
Public eventAfterTriggerHandled
Called after the Trigger's TriggerHandler is called. If there is no TriggerHandler for that Trigger then this event is not raised.
Public eventBeforeTriggerHandled
Called before the Trigger's TriggerHandler is called. If there is no TriggerHandler for that Trigger then this event is not raised.
Public eventError
Called when an Exception is raised during execution
Public eventInitiating
Occurs when [initiating]. Best to call your variable additions in the event.
Public eventResetting
Public eventTriggerAdded
Called when a Trigger and TriggerHandler is added to the Page
Top
Fields
Extension Methods
See Also