示例#1
0
 protected ReferenceLink(DocBase parent, PBRoot link, bool cross)
 {
     this.linkText     = link.FullName;
     this.abstractLink = null;
     this.objectLink   = link;
     this.parent       = parent;
     this.parent.AddReference(this);
     this.crossLink = cross;
 }
示例#2
0
 public ReferenceLink(DocBase parent, string link_text, AbstractReferenceLinkResolver resolver)
 {
     this.linkText     = link_text;
     this.objectLink   = null;
     this.abstractLink = null;
     this.parent       = parent;
     resolver.AddLink(this);
     this.parent.AddReference(this);
     this.crossLink = false;
 }