コード例 #1
0
ファイル: ProjectGraph.cs プロジェクト: 3F/IeXod
 /// <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="InvalidProjectFileException">
 ///     If the evaluation of any project in the graph fails
 /// </exception>
 public ProjectGraph(ProjectGraphEntryPoint entryPoint, ProjectCollection projectCollection)
     : this(entryPoint.AsEnumerable(), projectCollection, null)
 {
 }
コード例 #2
0
ファイル: ProjectGraph.cs プロジェクト: 3F/IeXod
 /// <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="InvalidProjectFileException">
 ///     If the evaluation of any project in the graph fails
 /// </exception>
 public ProjectGraph(ProjectGraphEntryPoint entryPoint)
     : this(entryPoint.AsEnumerable(), ProjectCollection.GlobalProjectCollection, null)
 {
 }
コード例 #3
0
ファイル: ProjectGraph.cs プロジェクト: 3F/IeXod
 /// <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="InvalidProjectFileException">
 ///     If the evaluation of any project in the graph fails
 /// </exception>
 public ProjectGraph(IEnumerable <string> entryProjectFiles, ProjectCollection projectCollection)
     : this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), projectCollection, null)
 {
 }
コード例 #4
0
ファイル: ProjectGraph.cs プロジェクト: 3F/IeXod
 /// <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="InvalidProjectFileException">
 ///     If the evaluation of any project in the graph fails
 /// </exception>
 public ProjectGraph(IEnumerable <string> entryProjectFiles, IDictionary <string, string> globalProperties, ProjectCollection projectCollection)
     : this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null)
 {
 }
コード例 #5
0
ファイル: GraphBuildRequestData.cs プロジェクト: 3F/IeXod
 /// <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)
 {
 }