/// <summary>Gets the documentation of the specified BPL library.</summary> public BplDocumentationTopic this[BplLibrary bplLibrary] { get { return new BplDocumentationTopic(bplLibrary); } }
// Constructor public LibraryNode(BplLibrary library, IEnumerable<BplNamespace> namespaces) { Library = library; Children = new List<NamespaceNode>(); Name = library.Name; Index.Add(this); foreach (var ns in namespaces) { var node = new NamespaceNode(this, ns); if (node.Children.Count > 0) { Children.Add(node); } } UpdateSelection(true); }
public static LibraryNode Get(BplLibrary bplLibrary) { return Index.TryGet(bplLibrary); }
private Inline _formatHyperlink(BplLibrary bplLibrary) { if (bplLibrary != null) { return _formatHyperlink(bplLibrary.Name, bplLibrary.ToCref()); } return new Span(); }