Adapter pattern helps adapt an interface to the one that a client expects.
Tag: c#
SOLID Principles
SOLID principles or the "first five principles" of object-oriented programming were named by Robert C. Martin and define very helpful guidelines for designing maintainable, extendable and testable code. In this post we will go through each of the SOLID principles and discuss them in detail using an actual example.
Factory Pattern Instantiations
One of the advantages of factory patterns is the flexibility they provide in terms of declaring the information required to instantiate a factory. In this post we will look at some of the methods of factory instantiation using config file, discuss their usage scenarios and also discuss how the DbProviderFactories decides which DbProviderFactory to instantiate.
Factory Patterns in C#
Factory patterns are types of Creational Patterns which can be used to instantiate objects freeing client programs from object creation tasks. The types of factory patterns we will discuss here, with an example, are simple factory, factory method and abstract factory.


