Init(args)
Scripting Reference
List of all members | Static Public Member Functions | Properties
Sisus.Init.ServiceUtility Class Reference

Description

Utility class responsible for providing information about services.

Static Public Member Functions

static bool IsService< T > ()
 Gets a value indicating whether or not T is a service type. More...
 
static bool IsService ([NotNull] Type type)
 Gets a value indicating whether or not T is a service type. More...
 
static object GetService ([NotNull] Type definingType)
 Gets the shared service instance of the given definingType . More...
 
static void SetInstance (Type definingType, object instance)
 Sets the service instance of the provided definingType type that is shared across clients to the given value. More...
 

Properties

static bool ServicesAreReady [get]
 true if all services have been created, initialized and are ready to be used by clients. More...
 
static Action? OnServicesBecameReady
 Event that is broadcast when all services have been created, initialized and are ready to be used by clients. More...