Monthly Archives: October 2014

Generic Class Factory – C# Part 4 / 4

This is the last post in the generic class factory series.  The previous posts included: Generic factory introduction.  Please read this post first to understand why a class factory should be used instead of simply creating an object and how a generic class … Continue reading

Posted in C#, software development | Tagged , , | Leave a comment

Generic Class Factory – C# Part 3 / 4

This 3rd post in the generic class factory series focuses on creating objects in C# with an elegant class that uses the Type class and reflection’s Activator object.  The first post in the series provides an introduction to the generic class factory … Continue reading

Posted in C#, Patterns, software development | Tagged , , | Leave a comment

Generic Class Factory – C++ Part 2 / 4

This 2nd post in the generic class factory series focuses on creating objects of different types in C++, which I have not seen published before.  This means that just one generic class factory can create objects that have no common … Continue reading

Posted in C/C++, software development | Tagged , , | Leave a comment

Generic Class Factory – C++ Introduction Part 1/4

This article is the first in a series of 4 that describes how a generic class can be implemented in C++ and C#.  Each article looks at a different implementation.  The first 2 are in C++ and the last 2 are in … Continue reading

Posted in software development | Tagged , , | 2 Comments