コード例 #1
0
        public void CreateClasses()
        {
            var directory = new DirectoryInfo(Config.RootFolder + @"\Magick.NET");

            var classes = CreateClasses(directory.GetFiles("*.json", SearchOption.AllDirectories));

            NativeClassGenerator.Create(classes);
        }
コード例 #2
0
 public static void Create(IEnumerable <MagickClass> magickClasses)
 {
     RegisterClasses(magickClasses);
     foreach (var magickClass in magickClasses)
     {
         var codeGenerator = new NativeClassGenerator(magickClass);
         codeGenerator.Create();
     }
 }
コード例 #3
0
 public NativeInstanceGenerator(NativeClassGenerator parent)
     : base(parent)
 {
 }