Design Pattern Examples
Overview of object-oriented design patterns
ItemPair Class Reference

Represents a key/value pair where the key and value are strings. More...

Collaboration diagram for ItemPair:
Collaboration graph

Public Member Functions

 ItemPair (string key, string value)
 Constructor.
 

Public Attributes

string Key
 
string Value
 

Detailed Description

Represents a key/value pair where the key and value are strings.

Definition at line 14 of file IteratorContainer_Class.cs.

Constructor & Destructor Documentation

◆ ItemPair()

ItemPair ( string  key,
string  value 
)
inline

Constructor.

Parameters
keyThe key to use.
valueThe value to use.

Definition at line 24 of file IteratorContainer_Class.cs.

References ItemPair.Key, and ItemPair.Value.

Member Data Documentation

◆ Key

string Key

Definition at line 16 of file IteratorContainer_Class.cs.

Referenced by ItemPair.ItemPair().

◆ Value

string Value

Definition at line 17 of file IteratorContainer_Class.cs.

Referenced by ItemPair.ItemPair().


The documentation for this class was generated from the following file: