Click or drag to resize

CurrentGetRequiredServiceT Method

Retrieves the service of type T from the provider. If the service cannot be found, a ServiceNotFoundException will be thrown.

Namespace: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static T GetRequiredService<T>()

Type Parameters

T
The service type to retrieve.

Return Value

T
The registered service instance.
See Also