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

The Flyweight_Context struct, and the Flyweight_Class, BigResource, and BigResourceManager classes used in the Flyweight pattern. More...

Go to the source code of this file.

Classes

struct  Flyweight_Context
 Represents the context for an instance of the Flyweight_Class. In this case, the context includes position and velocity. More...
 
class  Flyweight_Class
 Associates a context with a big resource. More...
 
class  BigResource
 Represents some big resource. In this case, a text "image" rendered as a list of strings. each entry in the list is the same width. The height of the "image" is the number of entries in the list. This image is provided by the user. More...
 
class  BigResourceManager
 Represents a manager for big resources. Also provides the class factory for the Flyweight_Class instances that are associated with a particular big resource. More...
 

Namespaces

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

Detailed Description

The Flyweight_Context struct, and the Flyweight_Class, BigResource, and BigResourceManager classes used in the Flyweight pattern.

Definition in file Flyweight_Class.cs.