![]() |
Init(args)
Scripting Reference
|
Class that can act as a container for a globally shared instance of any class that has the ServiceAttribute on demand.
TService | The defining type of the service class, which is the type specified in its ServiceAttribute, or - if no other type has been explicitly specified - the exact type of the service class. |
This type must be an interface that the service implements, a base type that the service derives from, or the exact type of the service.
Static Public Attributes | |
static TService | Instance = default |
The shared instance of service of type TService . | |