Hybrid Bridge
Public Member Functions | List of all members
HybridBridge.InstancePool.InstanceDictionary< T > Class Template Reference

Represents a generic dictionary of instances to be registered on the GlobalPool and their values More...

Inheritance diagram for HybridBridge.InstancePool.InstanceDictionary< T >:

Public Member Functions

 InstanceDictionary ()
 Creates a new instance of this class More...
 
 InstanceDictionary (IDictionary< object, T > dictionary)
 Creates a new instance of this class and fills it with the collection of provided pairs More...
 
new void Clear ()
 Clears the dictionary by removing all instance pairs More...
 
new void Add (object key, T value)
 Adds a new instance and its value to the dictionary More...
 
new bool Remove (object key)
 Removes an instance from the dictionary More...
 

Detailed Description

Represents a generic dictionary of instances to be registered on the GlobalPool and their values

Template Parameters
TThe type of the instance values

Definition at line 11 of file InstanceDictionary.cs.

Constructor & Destructor Documentation

Creates a new instance of this class

Definition at line 16 of file InstanceDictionary.cs.

HybridBridge.InstancePool.InstanceDictionary< T >.InstanceDictionary ( IDictionary< object, T >  dictionary)

Creates a new instance of this class and fills it with the collection of provided pairs

Parameters
dictionaryThe pairs to add to the dictionary

Definition at line 24 of file InstanceDictionary.cs.

Member Function Documentation

new void HybridBridge.InstancePool.InstanceDictionary< T >.Add ( object  key,
value 
)

Adds a new instance and its value to the dictionary

Parameters
keyThe instance
valueThe instance value

Definition at line 48 of file InstanceDictionary.cs.

Clears the dictionary by removing all instance pairs

Definition at line 35 of file InstanceDictionary.cs.

new bool HybridBridge.InstancePool.InstanceDictionary< T >.Remove ( object  key)

Removes an instance from the dictionary

Parameters
keyThe instance to remove
Returns
if the instance was in dictionary and removed, otherwise

Definition at line 65 of file InstanceDictionary.cs.


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