Exemplo n.º 1
0
        /// <summary>
        /// The create topic line.
        /// </summary>
        /// <param name="containerDataItem">
        /// The container data item.
        /// </param>
        /// <returns>
        /// The <see cref="string"/>.
        /// </returns>
        protected string CreateTopicLine(DataRowView containerDataItem)
        {
            var topicLine = new TopicContainer {
                DataRow = containerDataItem
            };

            return(topicLine.RenderToString());
        }
Exemplo n.º 2
0
        /// <summary>
        /// The create topic line.
        /// </summary>
        /// <param name="item">
        /// The item.
        /// </param>
        /// <returns>
        /// The <see cref="string"/>.
        /// </returns>
        protected string CreateTopicLine(object item)
        {
            var topicLine = new TopicContainer {
                Item = item as PagedTopic
            };

            return(topicLine.RenderToString());
        }