Namespace: PureMVC.Core.Controller

Class TController

System.TInterfacedObject
  |
  +-- PureMVC.Core.Controller.TController
All Implemented Interfaces:
IController

public class TController ( System.TInterfacedObject , IController )

Abstract
False
Sealed
False
Persistent
False

Method Summary
  public Sub Destroy()
 
  public Sub ExecuteCommand(Note: PureMVC.Interfaces.INotification.INotification )
If an ICommand has previously been registered
to handle a the given INotification, then it is executed.
  public function Boolean HasCommand(NotificationName: string)
 
  public function PureMVC.Interfaces.IController.IController Instance()
 
  public Sub RegisterCommand(NotificationName: string; CommandType: TClass)
 
  public Sub RemoveCommand(NotificationName: string)
 
 

Method Detail

Destroy

public procedure Destroy()
Abstract
False
Reintroduce
False
Virtual
False
Override
True
Final
False

ExecuteCommand

public procedure ExecuteCommand(Note: PureMVC.Interfaces.INotification.INotification )
Abstract
False
Reintroduce
False
Final
False
Virtual
True
Override
False
summary
If an ICommand has previously been registered
to handle a the given INotification, then it is executed.
remarks
This method is thread safe and needs to be thread safe in all implementations.
param
An INotification
Class
False

HasCommand

public function HasCommand(NotificationName: string): Boolean
Abstract
False
Reintroduce
False
Final
False
Returns
Boolean
Virtual
True
Override
False
Class
False

Instance

public function Instance(): PureMVC.Interfaces.IController.IController 
Abstract
False
Reintroduce
False
Final
False
Returns
IController
Virtual
False
Override
False
Class
True

RegisterCommand

public procedure RegisterCommand(NotificationName: string; CommandType: TClass)
Abstract
False
Reintroduce
False
Final
False
Virtual
True
Override
False
Class
False

RemoveCommand

public procedure RemoveCommand(NotificationName: string)
Abstract
False
Reintroduce
False
Final
False
Virtual
True
Override
False
Class
False

Implementation Link

to Interface IController

Client
TController
Supplier
IController

Association Link

to Interface IView

Client
FView
Directed
False
Type
association
Supplier
IView

to Interface IController

Client
FInstance
Directed
False
Type
association
Supplier
IController