Quantcast
Channel: Software Development - Design Patterns
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Design Patterns In C#: Prototype

Definition Create customized objects without knowing their class or any details of how to create them. This can be a useful pattern when there is a large cost of creating a new object and is resource...

View Article



Image may be NSFW.
Clik here to view.

Design Patterns In C#: Adapter

Definition The adapter pattern is useful for adapting between classes and objects. It can be useful when interacting with or translating data from third party software or legacy code. It these cases it...

View Article

Image may be NSFW.
Clik here to view.

Design Patterns In C#: Bridge

Definition Decouple an abstraction from its implementation so that the two can vary independently. Intent Sometimes an abstraction has different implementations. In the code below we consider an...

View Article

Image may be NSFW.
Clik here to view.

Design Patterns In C#: Composite

Definition Compose objects into tree structures to represent part-whole hierarchies. It lets clients treat individual objects and compositions of objects uniformly.Here is a UML diagram of the pattern...

View Article

Image may be NSFW.
Clik here to view.

Design Patterns In C#: Decorator

Definition Add additional responsibilities dynamically to an object. Useful when subclassing would be sub-optimal due to the large number of subclasses that would result. Here is a UML diagram of the...

View Article


Image may be NSFW.
Clik here to view.

Design Patterns In C#: Flyweight

Definition Use sharing to support a large number of objects that have part of their internal state in common and another part that can vary.Here is a UML diagram of the pattern (click on the image to...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images