Design Pattern Examples
Overview of object-oriented design patterns
Strategy_SortEntries_Classes.cs File Reference

The ISortEntries interface and the various StrategyXXX classes that implement the interface as used in the Strategy pattern. More...

Go to the source code of this file.

Classes

interface  ISortEntries
 Represents a sorting strategy. More...
 
class  Strategy_SortEntries_ByName
 Strategy for sorting the names in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ByAge
 Strategy for sorting the ages in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ByHeight
 Strategy for sorting the heights in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ClassFactory
 Class constructor for the sorting strategies. More...
 

Namespaces

namespace  DesignPatternExamples_csharp
 The namespace containing all Design Pattern Examples implemented in C#.
 

Detailed Description

The ISortEntries interface and the various StrategyXXX classes that implement the interface as used in the Strategy pattern.

Definition in file Strategy_SortEntries_Classes.cs.