/// <summary> /// Constructs a GraphBuildRequestData for build requests based on a project graph. /// </summary> /// <param name="projectGraph">The graph to build.</param> /// <param name="targetsToBuild">The targets to build.</param> /// <param name="hostServices">The host services to use, if any. May be null.</param> /// <param name="flags">Flags controlling this build request.</param> public GraphBuildRequestData(ProjectGraph projectGraph, ICollection <string> targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) : this(targetsToBuild, hostServices, flags) { ErrorUtilities.VerifyThrowArgumentNull(projectGraph, nameof(projectGraph)); ProjectGraph = projectGraph; }
/// <summary> /// Constructs a GraphBuildRequestData for build requests based on a project graph. /// </summary> /// <param name="projectGraph">The graph to build.</param> /// <param name="targetsToBuild">The targets to build.</param> /// <param name="hostServices">The host services to use, if any. May be null.</param> public GraphBuildRequestData(ProjectGraph projectGraph, ICollection <string> targetsToBuild, HostServices hostServices) : this(projectGraph, targetsToBuild, hostServices, BuildRequestDataFlags.None) { }
/// <summary> /// Constructs a GraphBuildRequestData for build requests based on a project graph. /// </summary> /// <param name="projectGraph">The graph to build.</param> /// <param name="targetsToBuild">The targets to build.</param> public GraphBuildRequestData(ProjectGraph projectGraph, ICollection <string> targetsToBuild) : this(projectGraph, targetsToBuild, null, BuildRequestDataFlags.None) { }