コード例 #1
0
 /// <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>();
コード例 #2
0
 /// <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>();
コード例 #3
0
 /// <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>();