コード例 #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>();
 }