/// <summary> /// Adds the link. /// </summary> /// <param name="name">The name.</param> /// <param name="link">The link.</param> /// <returns></returns> public LinkItem AddLink(string name, string link) { LinkItem newLink = new LinkItem(name, link); _links.Add(newLink); return(newLink); }
/// <summary> /// Adds the link. /// </summary> /// <param name="name">The name.</param> /// <param name="link">The link.</param> /// <returns></returns> public LinkItem AddLink(string name, string link) { LinkItem newLink = new LinkItem(name, link); _links.Add(newLink); return newLink; }
/// <summary> /// Adds the link. /// </summary> /// <param name="link">The link.</param> public void AddLink(LinkItem link) { _links.Add(link); }