Container class for passing shared services between different components, for instance the ContentManager uses it to locate the IGraphicsDeviceService implementation. Implements the IServiceProvider interface. This is used More...
Public Member Functions | |
void | AddService< T > (T service) |
Adds a new service to the collection. More... | |
object | GetService (Type serviceType) |
Looks up the specified service. More... | |
Container class for passing shared services between different components, for instance the ContentManager uses it to locate the IGraphicsDeviceService implementation. Implements the IServiceProvider interface. This is used
Definition at line 13 of file VisServiceContainer.cs.
void visLU.VisServiceContainer.AddService< T > | ( | T | service) |
Adds a new service to the collection.
Definition at line 22 of file VisServiceContainer.cs.
object visLU.VisServiceContainer.GetService | ( | Type | serviceType) |
Looks up the specified service.
Definition at line 31 of file VisServiceContainer.cs.