- Behavioral
- Command: Encapsulate a method call as an object containing all necessary information
- Chain of Responsibility: Pass requests between command and processing objects within a chain of objects
Interpreter: Include language elements and evaluate sentences in a given languageIterator: Give sequential access to elements in a collectionMediator: Encapsulates and simplifies communication between objects- Memento: Undo modifications and restore an object to its initial state
Observer: Notify dependent objects of state changesState: Change object behavior depending on its stateStrategy: Encapsulate algorithms within a class and make them interchangeableTemplate Method: Define an algorithm skeleton and delegate algorithm steps to subclasses so that they may be overriddenVisitor: Add new operations to classes without modifying them- Creational
- Singleton: Class with only one single possible instance
- Prototype: Clone or copy initialized instances
- Abstract factory: Create instances of classes belonging to different families
- Factory Method: Create instances of derived classes
Builder: Separate representation and object construction- Structural
- Adapter: Match interfaces of classes with different interfaces
- Bridge: Separate implementation and object interfaces
Composite: Simple and composite objects tree- Decorator: Dynamically add responsibilities to objects
- Facade: Class that represents subclasses and subsystems
- Flyweight: Minimize memory usage by sharing as much data as possible with similar objects
- Proxy: Object that represents another object
PlumpMath/DesignPatternCS
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published