ModuleController Class

Definition

Namespace: Firefly.Box.Advanced
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public sealed class ModuleController : ITask
Inheritance
Object    ModuleController
Implements
ITask

Constructors

ModuleControllerInitializes a new instance of the ModuleController class.
ModuleController(ModuleControllerAdvancedSettings)Initializes a new instance of the ModuleController class.

Properties

ColumnsGets the columns that are used in this ModuleController
CurrentHandledCommand Return the currently handled command
CurrentHandledControl Return the currently handled control
CurrentHandledKey Return the currently handled key combination
EntitiesGets the ITask's entities
Handlers 
RelationsGet this ModuleController relations
ShowViewGets or sets the value determining if the view specified in the View property should be displayed when this ModuleController is executed.
TitleGets or sets the ModuleController's title
View The Form that will be displayed when this ModuleController is activated.

Methods

AddReference Binds another ModuleController as a component of this ModuleController.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExitInstructs the ModuleController to exit.
Exit(FuncBoolean)Instructs the ModuleController to exit.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Invoke(Action) 
Invoke(CommandWithArgs) 
Invoke(Command, Object) 
Invoke(Keys, Object) 
Invoke(String, Object) 
InvokeT(Command, ArrayColumnT) 
InvokeT(Keys, ArrayColumnT) 
InvokeT(String, ArrayColumnT) 
Raise(CommandWithArgs)Raises a command that will be handled by an Handler.
Raise(Command, Object)Raises a command that will be handled by an Handler.
Raise(Keys, Object)Raises a keyCombination that will be handled by an Handler.
Raise(String, Object)Raises a customCommandKey that will be handled by an Handler.
RaiseT(Command, ArrayColumnT) 
RaiseT(Keys, ArrayColumnT) 
RaiseT(String, ArrayColumnT) 
Run 
RunAction 
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

DatabaseErrorOccurredOccurs when a database error occurs and after all the DatabaseErrorHandler processed the error.
EndOccurs when the ModuleController ends. Raised once for each Run method. Preserves the last row data.
LoadOccurs when the ModuleController is executed, before the Start event and before the database query is constructed. Raised once for each Run method.
PreviewDatabaseErrorOccurs when a database error occurs and before all the DatabaseErrorHandler process the error.
ProcessingCommand 
StartOccurs when starts and after the Load event. Raised once for each Run method.

See Also