CurrentGetActiveViewContentServiceT Method |
Equivalent to SD.Workbench.ActiveViewContent.GetService<T>(),
but does not throw a NullReferenceException when ActiveViewContent is null.
(instead, null is returned).
Namespace: AltaxoAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static T GetActiveViewContentService<T>()
where T : class
Type Parameters
- T
- The service type to retrieve.
Return Value
TThe service instance, or
null if no active view content or service is available.
See Also