Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Utilities.TypeInstanceCollection< BaseType > Class Template Reference

Public Member Functions

void Register< T > (T instance)
 
Get< T > ()
 
void Remove< T > ()
 
bool Has< T > ()
 
bool Has (Type type)
 
void IfHas< T > (Action< T > callback)
 
IfHas< T, U > (Func< T, U > callback)
 
void Dispose ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Private Attributes

Dictionary< Type, BaseType > _services = new Dictionary<Type, BaseType>()
 
bool _disposedValue
 

Detailed Description

Type Constraints
BaseType :class 

Definition at line 6 of file TypeInstanceCollection.cs.


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