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; }
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; }