/// <summary> /// Gets the <see cref="ModuleDocumentNode"/> owner or null if none was found /// </summary> /// <param name="self"></param> /// <returns></returns> public static ModuleDocumentNode GetModuleNode(this TreeNodeData self) => self.GetAncestorOrSelf <ModuleDocumentNode>();
/// <summary> /// Gets the first <see cref="DsDocumentNode"/> owner or null if none was found /// </summary> /// <param name="self"></param> /// <returns></returns> public static DsDocumentNode GetDocumentNode(this TreeNodeData self) => self.GetAncestorOrSelf <DsDocumentNode>();
/// <summary> /// Gets the <see cref="AssemblyDocumentNode"/> owner or null if none was found /// </summary> /// <param name="self"></param> /// <returns></returns> public static AssemblyDocumentNode GetAssemblyNode(this TreeNodeData self) => self.GetAncestorOrSelf <AssemblyDocumentNode>();