This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public abstract class BaseModule |
Visual Basic (Declaration) | Copy Code |
---|---|
Public MustInherit Class BaseModule |
The type exposes the following members.
Protected Constructors
Name | Description | |
---|---|---|
BaseModule |
Initializes a new instance of the BaseModule class.
|
Public Methods
Name | Description | |
---|---|---|
AddAIMRelation |
Adds an item to the AIM relations collection.
|
|
ApplyProperties |
Applies the properties from the SXML processing environment into the current module.
|
|
BeginExecute |
Override this to execute code before Execute() is fired
|
|
Capture |
Passes an SXML subtree to the current module.
|
|
CheckTimeout |
Checks whether execution has timed out, given the setting of TimeoutMilliseconds()()()().
|
|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
DoPreparse |
Check whether to preparse data in the given property.
|
|
DoRecurseTag |
Determines whether to recurse on a given tag
|
|
EndExecute |
Override this to execute code after Execute() is fired.
|
|
Equals | (Inherited from Object.) | |
Execute |
Executes the module. Should be overriden in deriving classes
|
|
ExistsBuffer |
Checks whether a local buffer exists.
|
|
Find |
Finds the specified child module.
|
|
FindExtension |
Finds an extension macro.
|
|
GetAIMRelations |
Gets a list of all outgoing AIM relations created by the macro.
|
|
GetBuffer |
Gets a local buffer.
|
|
GetException |
Returns the text message of the exception that has occurred.
|
|
GetExceptionSmartsiteCode |
Returns the Smartsite Error code of the exception that has occurred.
|
|
GetExceptionString |
Returns the full information of the exception that has occurred, including the stack trace.
|
|
GetExceptionType |
Returns the full Type name of the exception that has occurred.
|
|
GetExecutingMacro |
Navigates up in the module hierarchy to find the executing macro module.
|
|
GetHashCode | (Inherited from Object.) | |
GetInnerException |
Returns the text message of the inner exception of the exception that has occurred.
|
|
GetInnerExceptionSmartsiteCode |
Returns Smartsite error code of the inner exception of the exception that has occurred.
|
|
GetInnerExceptionString |
Returns the full information of the inner exception of the exception that has occurred, including the stack trace.
|
|
GetInnerExceptionType |
Returns the full Type name of the inner exception of the exception that has occurred.
|
|
GetParameter | Overloaded. | |
GetParent | Overloaded. | |
GetParentMacro<(Of <<'(T>)>>) |
Gets the parent macro.
|
|
GetResult | Overloaded. | |
GetType | (Inherited from Object.) | |
Initialize | Overloaded. | |
IsChildOf |
Determines whether the module is a descendant of the given parent
|
|
ParameterExists |
Checks whether the given parameter/property is set.
|
|
PreInitialize |
Called just before initialization of the module
|
|
ReadyExecuting |
Executed after execution and result recursion is done.
|
|
ScopeTerminated |
Executed when the module is about to get out of scope.
|
|
SetBuffer |
Sets a local buffer.
|
|
TestCondition |
Tests whether to execute the module
|
|
ThrowCurrentException |
Makes Smartsite throw the current exception.
|
|
ThrowInnerException |
Makes Smartsite throw the inner exception.
|
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetCurrentProperty |
Sets the current property.
|
Public Fields
Name | Description | |
---|---|---|
BaseContextType |
Context type base
|
Protected Fields
Name | Description | |
---|---|---|
DoExecute |
Specifies whether to execute the module
|
|
ResolvingSaveBuffers |
True when save buffers are evaluated.
|
|
savingUnformattedResult |
True when save buffers are checked before formatting is applied, to facilitate unformated data to be saved.
|
Public Properties
Name | Description | |
---|---|---|
AcceptsInnerXml |
Returns true if the module currently accepts string data within the macro tags.
|
|
AIMMode |
Gets or sets the AIM scanning mode of the macro.
|
|
ConditionMatched |
Must return true if TestCondition() matched.
|
|
CurrentProperty |
Gets the property currently being set on the module.
|
|
HasParameterSection |
Returns true if the macro currently uses an SXML parameters section
|
|
Id |
Gets or sets the unique id of the module instance during the current processing.
Modules with Id set will be kept alive during the complete rendering and can be accessed from other modules using the Find method. |
|
IsCancelled |
Gets a value indicating whether the execution of the macro is cancelled.
|
|
IsSelfClosing |
Gets a value indicating whether this instance is self closing.
|
|
ModuleInfo |
Gets the module info.
|
|
Properties |
Gets the full list of properties as set when executing the module.
|
|
Remarks |
Gets or sets the remarks. Remarks have no effect on the actual execution of the module.
They only improve the readability of the code. |
|
Result |
Returns a reference to the module result
|
|
ResultType |
Gets or sets the type of the result.
|
|
State |
Gets a key/value collection that can be used to organize and share data during the lifecycle of a module.
|
|
Status |
Gets a value indicating the ModuleStatus of this module.
|
|
SXMLPath |
Gets the path to the macro in the current execution stack.
|
|
TimeoutSeconds |
Gets or sets the timeout in seconds.
In the overriden Execute() method, you can call CheckTimeout() to check whether execution has timed out.
|
|
Trim |
Gets a value indicating how the whitespace is trimmed.
|
|
TypeName |
Gets the name of the Module type.
|
|
UserSetPropertyList |
Gets the user-set property list.
|
|
Whitespace |
Gets a value indicating whether to preserve whitespace.
|
Protected Properties
Name | Description | |
---|---|---|
IContext |
Gets a reference to the IContext interface.
|
|
ProcessingContext |
Gets the xml processing context.
|
Public Events
Name | Description | |
---|---|---|
SetProperty |
Event fired just before setting a property on the Module instance from the SXML processor.
|
|
StatusChange |
Event raised when the execution status changes.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAIMModule..::..AIMRelations | ||
IModuleExec..::..Cancel | ||
IModuleExec..::..Context | ||
IModuleExec..::..FinishExecute | ||
IModuleExec..::..InstructionSource | ||
ISXMLInstruction..::..Name | ||
IModuleExec..::..SetChildException | ||
IModuleExec..::..SetInitialized |
Triggers the Initialized status in the module.
|
|
IModuleExec..::..StartExecute |
See Also
Smartsite.Core Namespace