You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
726 B
29 lines
726 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp.Menu
|
|
{
|
|
internal interface IMenuDisplay
|
|
{
|
|
/// <summary>
|
|
/// Update the menu display in the Console.
|
|
/// </summary>
|
|
void UpdateDisplay();
|
|
|
|
/// <summary>
|
|
/// Select the next line in the menu
|
|
/// </summary>
|
|
/// <returns>The current number of the new selected line</returns>
|
|
int SelectNextLine();
|
|
|
|
/// <summary>
|
|
/// Select the previous line in the menu
|
|
/// </summary>
|
|
/// <returns>The current number of the new selected line</returns>
|
|
int SelectPrevioustLine();
|
|
}
|
|
}
|