示例#1
0
 /// <summary>Gets the documentation of the specified BPL library.</summary>
 public BplDocumentationTopic this[BplLibrary bplLibrary] {
    get { return new BplDocumentationTopic(bplLibrary); }
 }
示例#2
0
         // 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);
         }
示例#3
0
 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();
 }