예제 #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);
 }
예제 #4
0
 private Inline _formatHyperlink(BplLibrary bplLibrary) {
    if (bplLibrary != null) {
       return _formatHyperlink(bplLibrary.Name, bplLibrary.ToCref());
    }
    return new Span();
 }