This repo consists of Sample code for Design Patterns and Solid principle in C#.
ModelBinder.cs file consists of sample
Method for converting DataTable <=> Model (Collection) Binder (Needs Testing with sample values).
Method for Cloning a C# Object (Deep Cloning). (Needs Testing with sample values)
-
Solid Principle
- Open Close Principle
- Single Responsibility Principle
- Liskov Substitution Principle
- Interface Seggregation Principle
- Dependency Inversion Principle
-
Creational Patterns
- Abstract Factory
- Factory Method
- Builder Pattern
- Prototype Pattern
- Singleton Pattern
-
Structural Pattern.
- Adapter Pattern
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
-
Behaviour Pattern
- Iterator