Type parameters:
| T |
Properties
Methods
Add
#Register a new triplet + value.
Parameters:
| triplet (TypeTriplet) | |
| value (T) |
Returns: True if triplet was added, false if it conflicted with an already defined triplet.
AllA
#Enumerate over all triplets which have a matching typeA or one of typeA's base classes or interfaces.
Parameters:
| typeOfA (Type) |
Get
#Try and get the value associated with the given triplet.
Parameters:
| triplet (TypeTriplet) | Triplet to search for. |
| value (out T) | Value associated with (a,b). |
Returns: True if the triplet is known.
Has
#Tests whether a specific triplet has been defined and is available.
Parameters:
| triplet (TypeTriplet) |
Returns: True if triplet has been defined.