Click or drag to resize

CurrentGetActiveViewContentServiceT Method

Equivalent to SD.Workbench.ActiveViewContent.GetService<T>(), but does not throw a NullReferenceException when ActiveViewContent is null. (instead, null is returned).

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

Type Parameters

T
The service type to retrieve.

Return Value

T
The service instance, or null if no active view content or service is available.
See Also