AltaxoServiceContainerGetFutureServiceT Method |
Gets a task that completes when a service of the specified type becomes available.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic Task<T> GetFutureService<T>()
where T : class
Type Parameters
- T
- The type of service to await.
Return Value
TaskTA task that returns the requested service instance when it becomes available, or
null.
See Also