https://github.com/bertovdev/commandpattern
https://github.com/bertovdev/commandpattern
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bertovdev/commandpattern
- Owner: BertovDev
- Created: 2024-04-12T17:01:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T18:15:49.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T03:29:46.094Z (over 1 year ago)
- Language: C#
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple command pattern example
In this I implemented a simple use of Command Pattern which is Undo command. In this case I created the differents components of the pattern which are:
* Client
* Abstract command -> A simple interface with 2 methods
* Invoker -> The assigned to store and execute the commands
* Concrete Command - Inherid the abstract command and the ability to be executed.
* Receiver
https://github.com/BertovDev/CommandPattern/assets/62818001/14111c74-de18-431e-bf82-986cb3561e8b
https://www.canva.com/design/DAGCKfLMVSM/UHHkyTrlpk7rb2dc5qzHPQ/edit?utm_content=DAGCKfLMVSM&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton