The Command pattern encapsulates functionality into a class. Although the pattern might appear simplistic, don't let its simplicity deceive you. The Command pattern is a powerful way for enabling a range of features that would be difficult to implement using a different approach. Here are some of the most common uses of the Command pattern:
|