Click or drag to resize

ServiceLocatorBeginServiceT Method

Starts the usage of a service of the provided type T. If an already registered service of this type exists, the registered service is used. If the service is not registered it is registered using the provided method.

Namespace: Aml.Engine.Services
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static void BeginService<T>(
	Func<T> register,
	out T service
)
where T : IAMLService

Parameters

register  FuncT
The registration method
service  T
The registered service

Type Parameters

T
See Also