示例#1
0
        /// <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);
        }
示例#2
0
 /// <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;
 }
示例#3
0
 /// <summary>
 /// Adds the link.
 /// </summary>
 /// <param name="link">The link.</param>
 public void AddLink(LinkItem link)
 {
     _links.Add(link);
 }
示例#4
0
 /// <summary>
 /// Adds the link.
 /// </summary>
 /// <param name="link">The link.</param>
 public void AddLink(LinkItem link)
 {
     _links.Add(link);
 }