예제 #1
0
        public PipelineManager(string projectDir, string outputDir, string intermediateDir)
        {
            _pipelineBuildEvents    = new Dictionary <string, List <PipelineBuildEvent> >();
            _processorDefaultValues = new Dictionary <string, OpaqueDataDictionary>();
            RethrowExceptions       = true;

            Assemblies = new List <string>();
            Assemblies.Add(null);
            Logger = new PipelineBuildLogger();

            ProjectDirectory      = PathHelper.NormalizeDirectory(projectDir);
            OutputDirectory       = PathHelper.NormalizeDirectory(outputDir);
            IntermediateDirectory = PathHelper.NormalizeDirectory(intermediateDir);

            RegisterCustomConverters();

            // Load the previous content stats.
            ContentStats = new ContentStatsCollection();
            ContentStats.PreviousStats = ContentStatsCollection.Read(intermediateDir);
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DummyContentImporterContext"/> class.
 /// </summary>
 public DummyContentImporterContext()
 {
     this.m_Logger = new PipelineBuildLogger();
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DummyContentProcessorContext"/> class.
 /// </summary>
 /// <param name="targetPlatform">
 /// The target platform.
 /// </param>
 public DummyContentProcessorContext(MonoGamePlatform targetPlatform)
 {
     this.m_TargetPlatform = targetPlatform;
     this.m_Logger         = new PipelineBuildLogger();
 }