Design Patterns
24 03 2014
As announced in my post about the “Null Object Pattern” I will explain the “Visitor Pattern” today. At the first time I maintained an application with visitors, I found it a bit confusing – Therefore I try to explain it based on my own experiences. The Visitor is a pattern of the category of behavior […]
Accept, C#, Code, Design, Game, Interface, Method, NET, Object, Patterns, Visit, Visitor
24 03 2014
Chris already discussed a few design pattern like the Null Object Pattern and the Singleton Pattern and today its my pleasure to introduce you to the Fluent Interface Pattern. This pattern is known since 2005 and the founders are Eric Evans and Martin Fowler as you can read in his post and it’s very likely […]
17 03 2014
As preparation for the post about the “Visitor Pattern”, we will make a short trip to the “Creational Patterns” with the “Singleton”. As the name suggests it means: single, only one. Like the Highlander: There can be only one! Let’s take a look at the UML diagram. The singleton assumes responsibility over it’s creation – […]
C#, Central, Design, GetInstance, Highlander, Patterns, Single, singleton, UML, Unique
23 02 2014
As announced in my previous post about Introducing Design Patterns, I will start with the first concrete post about the “Null Object Pattern”. For this I will take the chess board example from Indexed Properties. What is the Null Object Pattern? It is a design pattern that belongs to the “Behavioral patterns”. This object does […]
Architecture, C#, Design, Null, Object, Patterns
7 02 2014
As promised in my previous post about “Indexed Properties”, I will start to give you some insights into design patterns. What are “Design Patterns”? To make it short: Design Patterns are universal (language independed) solutions for recurring problems in object-oriented software architecture and development. In this post series we will limit to the common design […]
Archtecture, Behaviour, C#, Code, Creation, Design, Facade, GoF, Object, Observer, Patterns, Proxy, Quality, Structure, Visitor
11 03 2013
In some cases it is necessary to cleanup unmanaged resources before the GC will do that. Because the GC only have the hand over managed but not unmanaged resources. So you won’t know when exactly unmanaged resource are cleaned up. For this you have to cleanup manually. A pattern for this work is called IDisposable. […]
C#, IDisposable, Interface, NET, Resources, Unmanaged, using