19 lines
413 B
C#
19 lines
413 B
C#
using Hawkeye.VisionBuilder.Workflow;
|
|
|
|
namespace VisionBuilder.UI.Recipes.HawkeyeRecipe;
|
|
|
|
public static class WorkflowRecipeHelper
|
|
{
|
|
|
|
|
|
private const string RECIPES_DIR = "..\\Data\\Recipes";
|
|
public static List<string> ListRecipeFiles()
|
|
{
|
|
Directory.CreateDirectory(RECIPES_DIR);
|
|
var recipes = Directory.GetFiles(RECIPES_DIR, "*.hrcp");
|
|
return recipes.ToList();
|
|
}
|
|
|
|
|
|
|
|
} |