/// <summary> /// Create instance with data /// </summary> /// <param name="text">Presentation text</param> /// <param name="textShort">Short presentation text</param> /// <param name="sortCode">Sort code</param> /// <param name="menu">Menu code</param> /// <param name="selection">Selection code</param> /// <param name="description">Description of the item</param> /// <param name="type">Type of link</param> /// <param name="category">Links category</param> protected Link(string text, string textShort, string sortCode, string menu, string selection, string description, LinkType type, PresCategory category) : base(text, textShort, sortCode, menu, selection, description) { Type = type; Category = category; }
/// <summary> /// Create instance with data /// </summary> /// <param name="text">Presentation text</param> /// <param name="textShort">Short presentation text</param> /// <param name="sortCode">Sort code</param> /// <param name="menu">Menu code</param> /// <param name="selection">Selection code</param> /// <param name="description">Description of the table</param> /// <param name="type">Type of link</param> /// <param name="status">Table status</param> /// <param name="published">Date published</param> /// <param name="lastUpdated">Date last updated</param> /// <param name="startTime">Data from period</param> /// <param name="endTime">Data to period</param> /// <param name="tableId">Table ID</param> /// <param name="category">Presentation category</param> public TableLink(string text, string textShort, string sortCode, string menu, string selection, string description, LinkType type, TableStatus status, DateTime?published, DateTime?lastUpdated, string startTime, string endTime, string tableId, PresCategory category) : base(text, textShort, sortCode, menu, selection, description, type, category) { Status = status; Published = published; LastUpdated = lastUpdated; StartTime = startTime; EndTime = endTime; TableId = tableId; }
/// <summary> /// Create instance with data /// </summary> /// <param name="text">Presentation text</param> /// <param name="sortCode">Sort code</param> /// <param name="menu">Menu code</param> /// <param name="selection">Selection code</param> /// <param name="description">Description of the item</param> /// <param name="linkUrl">The url for the resource</param> /// <param name="linkPres">Link presentation code</param> /// <param name="category">Presentation category</param> public Url(string text, string sortCode, string menu, string selection, string description, PresCategory category, string linkUrl, LinkPres linkPres) : base(text, "", sortCode, menu, selection, description, LinkType.URL, category) { this.LinkUrl = linkUrl; this.LinkPres = linkPres; }
public TableLink(string text, string textShort, string sortCode, string menu, string selection, string description, LinkType type, TableStatus status, DateTime?published, string startTime, string endTime, string tableId, PresCategory category) : this(text, textShort, sortCode, menu, selection, description, type, status, published, null, startTime, endTime, tableId, category) { }