示例#1
0
 public MSBuildProjectCreator(ProjectCreatorOptions options)
 {
     this.options     = options ?? throw new ArgumentNullException(nameof(options));
     logger           = new MyLogger(this, options.Logger);
     progressListener = options.ProgressListener ?? NoMSBuildProgressListener.Instance;
     projects         = new List <Project>();
 }
		public MSBuildProjectCreator(ProjectCreatorOptions options) {
			if (options == null)
				throw new ArgumentNullException(nameof(options));
			this.options = options;
			logger = new MyLogger(this, options.Logger);
			progressListener = options.ProgressListener ?? NoMSBuildProgressListener.Instance;
			projects = new List<Project>();
		}
示例#3
0
 public MSBuildProjectCreator(ProjectCreatorOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException();
     }
     this.options          = options;
     this.logger           = new MyLogger(this, options.Logger);
     this.progressListener = options.ProgressListener ?? NoMSBuildProgressListener.Instance;
     this.projects         = new List <Project>();
 }
示例#4
0
 public MyLogger(MSBuildProjectCreator owner, IMSBuildProjectWriterLogger?logger)
 {
     this.owner  = owner;
     this.logger = logger ?? NoMSBuildProjectWriterLogger.Instance;
 }
示例#5
0
 public DecompileContext(CancellationToken ct, IMSBuildProjectWriterLogger logger)
 {
     this.CancellationToken = ct;
     this.Logger            = logger ?? NoMSBuildProjectWriterLogger.Instance;
 }
示例#6
0
 public MyLogger(MSBuildProjectCreator owner, IMSBuildProjectWriterLogger logger)
 {
     this.owner = owner;
     this.logger = logger ?? NoMSBuildProjectWriterLogger.Instance;
 }
示例#7
0
		public DecompileContext(CancellationToken ct, IMSBuildProjectWriterLogger logger) {
			this.CancellationToken = ct;
			this.Logger = logger ?? NoMSBuildProjectWriterLogger.Instance;
		}