예제 #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>();
 }
예제 #2
0
		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>();
 }