Beispiel #1
0
        public Compiler(Assembly assembly, string outputDir)
        {
            Assembly = assembly;
            OutputDir = outputDir;

            GenerationContext = new GenerationContext();
            RpcTypes = new List<Type>();

            apiWriter = new GeneratorWriter(Path.Combine(outputDir, "API"));
        }
Beispiel #2
0
        public Generator(Assembly currentAssembly, GenerationContext generationContext)
        {
            GenerationContext = generationContext;

            this.currentAssembly = currentAssembly;
        }