Command Pattern
Summary
- The Command pattern creates distance between the client that requests an operation and the object that can perform it.
Class diagram: (see Command Pattern code review)
Usage
Use the Command Pattern when you want to:
- Specify, queue, and execute commands at different times.
- Support an Undo function for commands.
- Support auditing and logging of all changes via commands.
Printer Friendly Version
Add to Favourites
DotNet Kicks
Digg
del.icio.us
Live Favourites
ma.gnolia
reddit
Slashdot
Technorati
Yahoo!