예제 #1
0
        /// <summary>
        /// Displays a horizontal line constructed using the specified character.
        /// </summary>
        public static void QuickDisplay(char character)
        {
            HorizontalLine horizontalLine = new HorizontalLine
            {
                Character = character
            };

            horizontalLine.Display();
        }
예제 #2
0
        /// <summary>
        /// Displays a horizontal line constructed using the specified <see cref="P:character"/> and
        /// the specified <see cref="P:foregroundColor"/>.
        /// </summary>
        public static void QuickDisplay(char character, ConsoleColor foregroundColor)
        {
            HorizontalLine horizontalLine = new HorizontalLine
            {
                Character       = character,
                ForegroundColor = foregroundColor
            };

            horizontalLine.Display();
        }
예제 #3
0
        /// <summary>
        /// Displays a horizontal line with default settings.
        /// </summary>
        public static void QuickDisplay()
        {
            HorizontalLine horizontalLine = new HorizontalLine();

            horizontalLine.Display();
        }