Ejemplo n.º 1
0
        /// <summary>
        ///     Format a layout
        /// </summary>
        /// <param name="layout">Layout to format</param>
        /// <param name="sbOut">Receives formatted layout</param>
        private static void FormatLayout(ILayout layout, StringBuilder sbOut)
        {
            foreach (var str in layout.EnumerateLayout())
            {
                sbOut.AppendFormat("\t{0}\n", str);
            }

            sbOut.AppendLine();
        }