using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Triton160.UI.ViewModel { interface IUiRecipeManager { string LoadRecipe(string chamId, string receipeName); Tuple LoadRunTimeRecipeInfo(string chamId); IEnumerable GetRecipes(string chamId, bool includeUsedRecipe); bool DeleteRecipe(string chamId, string recipeName); bool SaveAsRecipe(string chamId, string recipeName, string recipeContent); bool SaveRecipe(string chamId, string recipeName, string recipeContent); bool MoveRecipeFile(string chamId, string folderName, string tragetFolderName); bool RenameRecipe(string chamId, string oldName, string newName); bool CreateFolder(string chamId, string folderName); bool DeleteFolder(string chamId, string foldName); string GetXmlRecipeList(string chamId, bool includingUsedRecipe); bool RenameFolder(string chamId, string oldName, string newName); string GetRecipeFormatXml(string chamId); string GetRecipeTemplate(string chamId); } }