IUiRecipeManager.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. namespace EfemDualUI.Views.PMs
  4. {
  5. interface IUiRecipeManager
  6. {
  7. string LoadRecipe(string chamId, string receipeName);
  8. Tuple<string, string> LoadRunTimeRecipeInfo(string chamId);
  9. IEnumerable<string> GetRecipes(string chamId, bool includeUsedRecipe);
  10. bool DeleteRecipe(string chamId, string recipeName);
  11. bool SaveAsRecipe(string chamId, string recipeName, string recipeContent);
  12. bool SaveRecipe(string chamId, string recipeName, string recipeContent);
  13. bool RenameRecipe(string chamId, string oldName, string newName);
  14. bool CreateFolder(string chamId, string folderName);
  15. bool MoveRecipeFile(string chamId, string folderName, string tragetFolderName);
  16. bool DeleteFolder(string chamId, string foldName);
  17. string GetXmlRecipeList(string chamId, bool includingUsedRecipe);
  18. bool RenameFolder(string chamId, string oldName, string newName);
  19. string GetRecipeFormatXml(string chamId);
  20. string GetRecipeTemplate(string chamId);
  21. }
  22. }