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.
23 lines
588 B
23 lines
588 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp.Menu
|
|
{
|
|
internal class ConnectionMenu : Entry
|
|
{
|
|
public ConnectionMenu(params EntryStep[] entrySteps)
|
|
: base("Connection", entrySteps)
|
|
{ }
|
|
|
|
public override IMenu? Return()
|
|
{
|
|
string username = _selectList[0].Item.Input;
|
|
string password = _selectList[1].Item.Input;
|
|
return new PlainText($"User: {username} connected with password: {password}");
|
|
}
|
|
}
|
|
}
|