Mzsmunna
10/28/2019 - 9:44 AM

ALL Design Patterns

Note : Don't Repeat yourself!!

  1. Single Responsibility Principle - c#
  2. Open Closed Principle - c#
  3. Liskov Subtitution Principle - c#
  4. Interface Segregation Principle - c#
  5. Dependency Inversion + Injection - c#

OOP DESIGN PATTERNS :

  1. Strategy Pattern
  2. Observer Pattern
  3. Decorator Pattern
  4. Factory Pattern
  5. Abstract Factory Pattern
  6. Singleton Pattern
  7. Memento Design Pattern
  8. State Pattern

Decorator Pattern.PNG

Factory Pattern.PNG

Abstract Factory Pattern.PNG

  • Notes :
  1. The adapter pattern changes the interface but does not change the implementation.
  2. The proxy pattern changes the implementation but does not change the interface.
  3. The decorator pattern changes the implementation but does not change the interface.
  4. The facade pattern is a high-level level abstraction over low-level components, where the interface is changed.