コード例 #1
0
        /// <summary>
        ///     For display
        /// </summary>
        /// <returns></returns>
        public virtual string Render()
        {
            var sb = new ConsoleStringBuilderInterlaced();

            Render(sb);
            return(sb.ToString());
        }
コード例 #2
0
        /// <summary>
        ///     Returns a <see cref="System.String" /> that represents this instance.
        /// </summary>
        /// <returns>
        ///     A <see cref="System.String" /> that represents this instance.
        /// </returns>
        public override string ToString()
        {
            var sb = new ConsoleStringBuilderInterlaced();

            Render(sb);
            return(sb.ToString());
        }