public void CreateClasses() { var directory = new DirectoryInfo(Config.RootFolder + @"\Magick.NET"); var classes = CreateClasses(directory.GetFiles("*.json", SearchOption.AllDirectories)); NativeClassGenerator.Create(classes); }
public static void Create(IEnumerable <MagickClass> magickClasses) { RegisterClasses(magickClasses); foreach (var magickClass in magickClasses) { var codeGenerator = new NativeClassGenerator(magickClass); codeGenerator.Create(); } }