Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a graph starting from the given project files, evaluating with the provided project collection and no global properties.
 /// </summary>
 /// <param name="entryProjectFiles">The project files to use as the entry points in constructing the graph</param>
 /// <param name="projectCollection">The collection with which all projects in the graph should be associated. May not be null.</param>
 /// <exception cref="AggregateException">If the evaluation of any project in the graph fails, the InnerException contains <see cref="InvalidProjectFileException"/></exception>
 public ProjectGraph(IEnumerable <string> entryProjectFiles, ProjectCollection projectCollection)
     : this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), projectCollection, null)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a graph starting from the given graph entry point, evaluating with the provided project collection.
 /// </summary>
 /// <param name="entryPoint">The entry point to use in constructing the graph</param>
 /// <param name="projectCollection">The collection with which all projects in the graph should be associated. May not be null.</param>
 /// <exception cref = "AggregateException" > If the evaluation of any project in the graph fails, the InnerException contains<see cref="InvalidProjectFileException"/></exception>
 public ProjectGraph(ProjectGraphEntryPoint entryPoint, ProjectCollection projectCollection)
     : this(entryPoint.AsEnumerable(), projectCollection, null)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructs a graph starting from the given project files, evaluating with the provided global properties and the provided project collection.
 /// </summary>
 /// <param name="entryProjectFiles">The project files to use as the entry points in constructing the graph</param>
 /// <param name="globalProperties">The global properties to use for all projects. May be null, in which case no global properties will be set.</param>
 /// <param name="projectCollection">The collection with which all projects in the graph should be associated. May not be null.</param>
 /// <exception cref="AggregateException">If the evaluation of any project in the graph fails, the InnerException contains <see cref="InvalidProjectFileException"/></exception>
 public ProjectGraph(IEnumerable <string> entryProjectFiles, IDictionary <string, string> globalProperties, ProjectCollection projectCollection)
     : this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructs a graph starting from the given graph entry point, evaluating with the global project collection.
 /// </summary>
 /// <param name="entryPoint">The entry point to use in constructing the graph</param>
 /// <exception cref="AggregateException">If the evaluation of any project in the graph fails, the InnerException contains <see cref="InvalidProjectFileException"/></exception>
 public ProjectGraph(ProjectGraphEntryPoint entryPoint)
     : this(entryPoint.AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructs a GraphBuildRequestData for build requests based on a project graph entry points.
 /// </summary>
 /// <param name="projectGraphEntryPoint">The entry point to use in the 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(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection <string> targetsToBuild, HostServices hostServices)
     : this(projectGraphEntryPoint.AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None)
 {
 }