Click or drag to resize

CurrentGetFutureServiceT Method

Returns a task that gets completed when the service is initialized. This method does not try to initialize the service -- if no other code forces the service to be initialized, the task will never complete.

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

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Current.GetFutureService``1"]

Return Value

TaskT

[Missing <returns> documentation for "M:Altaxo.Current.GetFutureService``1"]

Remarks
This method can be used to solve cyclic dependencies in service initialization.
See Also