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

The IWorkByProxy interface and the Proxy_Classes_Container class used in the proxy pattern. More...

Go to the source code of this file.

Classes

interface  IWorkByProxy
 Represents what can be done on the proxy object. This same interface is implemented on the real object as well to ensure both have the same methods. The program accesses the proxy object only through this interface. More...
 
class  Proxy_Classes_Container
 For the purposes of this example, this class encapsulates the real class and proxy class to hide them from the rest of the example program. In a real program, the real class would be in its own assembly and separate from the proxy class. More...
 
class  Proxy_Classes_Container.Real_Class
 The real class object that does all the work. More...
 
class  Proxy_Classes_Container.Proxy_Class
 The proxy class that implements the IWorkByProxy. More...
 

Namespaces

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

Detailed Description

The IWorkByProxy interface and the Proxy_Classes_Container class used in the proxy pattern.

Definition in file Proxy_Class.cs.