CurrentGetRequiredServiceT Method |
Retrieves the service of type
T from the provider.
If the service cannot be found, a
ServiceNotFoundException will be thrown.
Namespace: AltaxoAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static T GetRequiredService<T>()
Type Parameters
- T
- The service type to retrieve.
Return Value
TThe registered service instance.
See Also