Пример #1
0
        /// <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;
        }
Пример #2
0
 /// <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)
 {
 }
Пример #3
0
 /// <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)
 {
 }