The Visitor base class, the Visitor_Shop base class, and the various "shop" classes used in the Visitor pattern. More...
Go to the source code of this file.
Classes | |
class | Visitor |
All visitors must implement this base class and then override one or more of the VisitXXX() methods, depending on which shop type the visitor class is interested in. More... | |
interface | ISupportVisitors |
The interface that all element classes must implement if they are to participate in the visitor pattern. More... | |
class | Visitor_Shop |
Base class that all shops must implement. More... | |
class | Visitor_Restaurant |
Represent a restaurant shop. More... | |
class | Visitor_Butcher |
Represent a butcher shop. More... | |
class | Visitor_Baker |
Represent a baker shop. More... | |
class | Visitor_VegetableGrocer |
Represent a vegetable grocer. More... | |
class | Visitor_CondimentGrocer |
Represent a condiment grocer. More... | |
class | Visitor_PickleGrocer |
Represent a pickle grocer. More... | |
class | Visitor_Maker |
Represent a maker (of things). More... | |
Namespaces | |
namespace | DesignPatternExamples_csharp |
The namespace containing all Design Pattern Examples implemented in C#. | |
The Visitor base class, the Visitor_Shop base class, and the various "shop" classes used in the Visitor pattern.
Definition in file Visitor_Element_Classes.cs.