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

namespace CommonHelpers {

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog(string caption,string[] actions,[HOptional] bool[] enablings)
{
   return PerformNumberedDialog(false,caption,actions,enablings);
}

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction )
{
   return PerformNumberedDialog(false,caption,actions,enablings,cancelAction);
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey )
{
   return PerformNumberedDialog(false,caption,actions,enablings,cancelAction,cancelKey);
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey,
                                  [HOptional] ConsoleModifiers cancelModifiers )
{
   return PerformNumberedDialog(
      false, caption,
      actions, enablings,
      cancelAction, cancelKey, cancelModifiers );
}

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  string[] actions,
                                  [HOptional] bool[] enablings )
{
   return PerformNumberedDialog(false,caption,zeroAction,actions,enablings);
}

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction )
{
   return PerformNumberedDialog(
      false, caption,
      zeroAction, actions, enablings,
      cancelAction );
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey )
{
   return PerformNumberedDialog(
      false, caption,
      zeroAction, actions, enablings,
      cancelAction, cancelKey );
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey,
                                  [HOptional] ConsoleModifiers cancelModifiers )
{
   return PerformNumberedDialog(
      false, caption,
      zeroAction, actions, enablings,
      cancelAction, cancelKey, cancelModifiers );
}

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  bool placeZeroActionDown,
                                  string[] actions,
                                  [HOptional] bool[] enablings )
{
   return PerformNumberedDialog( false, caption,
      zeroAction, placeZeroActionDown, actions, enablings );
}

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

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  bool placeZeroActionDown,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction )
{
   return PerformNumberedDialog( false, caption,
      zeroAction, placeZeroActionDown, actions, enablings,
      cancelAction );
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  bool placeZeroActionDown,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey )
{
   return PerformNumberedDialog( false, caption,
      zeroAction, placeZeroActionDown, actions, enablings,
      cancelAction, cancelKey );
}

/// <exception cref="InvalidOperationException" />
/// <exception cref="HAbortConsoleInputException" />
public int PerformNumberedDialog( string caption,
                                  [HOptional] string zeroAction,
                                  bool placeZeroActionDown,
                                  string[] actions,
                                  [HOptional] bool[] enablings,
                                  [HOptional] string cancelAction,
                                  [HOptional] ConsoleKey cancelKey,
                                  [HOptional] ConsoleModifiers cancelModifiers )
{
   return PerformNumberedDialog( false, caption,
      zeroAction, placeZeroActionDown, actions, enablings,
      cancelAction, cancelKey, cancelModifiers );
}

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

} // CommonHelpers
