//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// CommonHelpers satellite library | Author: Sergei Y.Kitáev
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using System;

namespace CommonHelpers {

//**************************************************************************************************
partial class HConsole {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

public void PrintEquationList( bool insertBlankLine, [HOptional] string caption,
                               string[] captions, string[] values )
{
   PrintListCaption( insertBlankLine, caption );
   PrintEquationList( false, captions, values );
}

//==================================================================================================

public void PrintEquationList(bool insertBlankLine,string[] captions,string[] values)
{
   PrintEquationList(
      insertBlankLine,
      captions, null,
      values, null,
      null );
}

public void PrintEquationList( bool insertBlankLine,
                               string[] captions,
                               ConsoleColor? captionColor,
                               string[] values )
{
   PrintEquationList(
      insertBlankLine,
      captions, captionColor,
      values, null,
      null );
}

//--------------------------------------------------------------------------------------------------

public void PrintEquationList( bool insertBlankLine,
                               string[] captions,
                               string[] values,
                               ConsoleColor? valueColor )
{
   PrintEquationList(
      insertBlankLine,
      captions, null,
      values, valueColor,
      null );
}

public void PrintEquationList( bool insertBlankLine,
                               string[] captions, ConsoleColor? captionColor,
                               string[] values, ConsoleColor? valueColor )
{
   PrintEquationList(
      insertBlankLine,
      captions, captionColor,
      values, valueColor,
      null );
}

//--------------------------------------------------------------------------------------------------

public void PrintEquationList( bool insertBlankLine,
                               string[] captions, ConsoleColor? captionColor,
                               string[] values, ConsoleColor? valueColor,
                               ConsoleColor? equationLigamentColor )
{
   PrintEquationList(
      insertBlankLine,
      captions, captionColor,
      values, valueColor,
      null, null,
      equationLigamentColor );
}

//--------------------------------------------------------------------------------------------------

public void PrintEquationList( bool insertBlankLine,
                               string[] captions, ConsoleColor? captionColor,
                               string[] values, ConsoleColor? valueColor,
                               char? bulletChar, ConsoleColor? bulletColor,
                               ConsoleColor? equationLigamentColor )
{
   PrintAlignedList
   (
      insertBlankLine,
      captions, captionColor,
      values, valueColor,
      bulletChar, bulletColor,
      ListItemEquationLigament,
      equationLigamentColor ?? ListItemEquationLigamentColor
   );
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} // HConsole
//**************************************************************************************************

} // CommonHelpers
