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.
SAE-2.01/MCTG/ConsoleApp/Menu/SearcherRecipe.cs

29 lines
645 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace ConsoleApp.Menu
{
/// <summary>
/// An utility to find a recipe.
/// </summary>
internal class SearcherRecipe : Menu<Recipe>
{
public SearcherRecipe(string title, params Selector<Recipe>[] selections)
: base(title, selections)
{ }
#region Methodes
public override void Return()
{
Console.WriteLine(CurrentSelected);
}
#endregion
}
}