Namespace: PureMVC.Patterns.Command

Class TSimpleCommand

System.TInterfacedObject
  |
  +-- PureMVC.Patterns.Notifier.TNotifier 
    |
    +-- PureMVC.Patterns.Command.TCommand 
      |
      +-- PureMVC.Patterns.Command.TSimpleCommand
All Implemented Interfaces:
ICommand , INotifier

public class TSimpleCommand ( TCommand , ICommand , INotifier )

Abstract
False
Sealed
False
Persistent
False
summary
A base ICommand implementation
remarks
Your subclass should override the execute method where your business logic will handle the INotification
see

Method Summary
  public Sub Execute(Notification: PureMVC.Interfaces.INotification.INotification )
Fulfill the use-case initiated by the given INotification
 

Method Detail

Execute

public procedure Execute(Notification: PureMVC.Interfaces.INotification.INotification )
Abstract
False
Reintroduce
False
Final
False
Virtual
False
Override
True
summary
Fulfill the use-case initiated by the given INotification
remarks
In the Command Pattern, an application use-case typically begins with some user action, which results in an INotification being broadcast, which is handled by business logic in the execute method of an ICommand
param
The INotification to handle
Class
False

Implementation Link

to Interface ICommand

Client
TSimpleCommand
Supplier
ICommand

to Interface INotifier

Client
TSimpleCommand
Supplier
INotifier

Generalization Link

to Class TCommand

Client
TSimpleCommand
Supplier
TCommand