Click or drag to resize

AltaxoServiceContainerGetFutureServiceT Method

Gets a task that completes when a service of the specified type becomes available.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Task<T> GetFutureService<T>()
where T : class

Type Parameters

T
The type of service to await.

Return Value

TaskT
A task that returns the requested service instance when it becomes available, or null.
See Also