コード例 #1
0
        public CompilationGenerator(IReadOnlyList <string> generatorAssemblySearchPaths,
                                    string intermediateOutputDirectory, ProgressReporter progressReporter)
        {
            var generatorPluginProvider = new GeneratorPluginProvider(generatorAssemblySearchPaths);

            _intermediateOutputDirectory = intermediateOutputDirectory;
            _progressReporter            = progressReporter;
            _documentTransformer         = new DocumentTransformer(generatorPluginProvider, progressReporter);
        }
コード例 #2
0
 public DocumentTransformer(GeneratorPluginProvider generatorPluginProvider, ProgressReporter errorReporter)
 {
     _generatorPluginProvider = generatorPluginProvider;
     _errorReporter           = errorReporter;
 }