using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace PdfiumViewer { /// /// Describes all links on a page. /// public class PdfPageLinks { /// /// All links of the page. /// public IList Links { get; private set; } /// /// Creates a new instance of the PdfPageLinks class. /// /// The links on the PDF page. public PdfPageLinks(IList links) { if (links == null) throw new ArgumentNullException("links"); Links = new ReadOnlyCollection(links); } } }