예제 #1
0
 public ShowRecipeByName(IRecipeManager recipeManager, IInputProvider inputProvider, IModelDrawer <Recipe> recipeDrawer) :
     base(title: "Show recipe by name")
 {
     this.inputProvider = inputProvider;
     this.recipeDrawer  = recipeDrawer;
     this.recipeManager = recipeManager;
 }
예제 #2
0
 public RecipeModelDrawer(IModelDrawer <Component> componentDrawer)
 {
     this.componentDrawer = componentDrawer;
 }
예제 #3
0
 public ShowAllRecipesOption(IRecipeManager recipeManager, IModelDrawer <Recipe> recipeDrawer) :
     base(title: "Show all recipes")
 {
     this.recipeDrawer  = recipeDrawer;
     this.recipeManager = recipeManager;
 }