Partager via


GraphBuildRequestData Constructors

Definition

Overloads

GraphBuildRequestData(ProjectGraph, ICollection<String>)

Constructs a GraphBuildRequestData for build requests based on a project graph.

GraphBuildRequestData(String, IDictionary<String,String>, ICollection<String>, HostServices, BuildRequestDataFlags)

Constructs a GraphBuildRequestData for build requests based on project files.

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices, BuildRequestDataFlags, GraphBuildOptions)
GraphBuildRequestData(String, IDictionary<String,String>, ICollection<String>, HostServices)

Constructs a GraphBuildRequestData for build requests based on project files.

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>, HostServices, BuildRequestDataFlags)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(ProjectGraph, ICollection<String>, HostServices, BuildRequestDataFlags)

Constructs a GraphBuildRequestData for build requests based on a project graph.

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices, BuildRequestDataFlags)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>, HostServices)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(ProjectGraph, ICollection<String>, HostServices)

Constructs a GraphBuildRequestData for build requests based on a project graph.

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices)

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

GraphBuildRequestData(ProjectGraph, ICollection<String>)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraph ^ projectGraph, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraph projectGraph, System.Collections.Generic.ICollection<string> targetsToBuild);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraph * System.Collections.Generic.ICollection<string> -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraph As ProjectGraph, targetsToBuild As ICollection(Of String))

Parameters

projectGraph
ProjectGraph

The graph to build.

targetsToBuild
ICollection<String>

The targets to build.

Applies to

GraphBuildRequestData(String, IDictionary<String,String>, ICollection<String>, HostServices, BuildRequestDataFlags)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on project files.

public:
 GraphBuildRequestData(System::String ^ projectFullPath, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public GraphBuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Graph.GraphBuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectFullPath As String, globalProperties As IDictionary(Of String, String), targetsToBuild As ICollection(Of String), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectFullPath
String

The full path to the project file.

globalProperties
IDictionary<String,String>

The global properties which should be used during evaluation of the project. Cannot be null.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use. May be null.

Applies to

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices, BuildRequestDataFlags, GraphBuildOptions)

Source:
GraphBuildRequestData.cs
public:
 GraphBuildRequestData(System::Collections::Generic::IEnumerable<Microsoft::Build::Graph::ProjectGraphEntryPoint> ^ projectGraphEntryPoints, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags, Microsoft::Build::Graph::GraphBuildOptions ^ graphBuildOptions);
public GraphBuildRequestData (System.Collections.Generic.IEnumerable<Microsoft.Build.Graph.ProjectGraphEntryPoint> projectGraphEntryPoints, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags, Microsoft.Build.Graph.GraphBuildOptions graphBuildOptions);
new Microsoft.Build.Graph.GraphBuildRequestData : seq<Microsoft.Build.Graph.ProjectGraphEntryPoint> * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags * Microsoft.Build.Graph.GraphBuildOptions -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoints As IEnumerable(Of ProjectGraphEntryPoint), targetsToBuild As ICollection(Of String), hostServices As HostServices, flags As BuildRequestDataFlags, graphBuildOptions As GraphBuildOptions)

Parameters

projectGraphEntryPoints
IEnumerable<ProjectGraphEntryPoint>
targetsToBuild
ICollection<String>
hostServices
HostServices
graphBuildOptions
GraphBuildOptions

Applies to

GraphBuildRequestData(String, IDictionary<String,String>, ICollection<String>, HostServices)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on project files.

public:
 GraphBuildRequestData(System::String ^ projectFullPath, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public GraphBuildRequestData (string projectFullPath, System.Collections.Generic.IDictionary<string,string> globalProperties, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Graph.GraphBuildRequestData : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectFullPath As String, globalProperties As IDictionary(Of String, String), targetsToBuild As ICollection(Of String), hostServices As HostServices)

Parameters

projectFullPath
String

The full path to the project file.

globalProperties
IDictionary<String,String>

The global properties which should be used during evaluation of the project. Cannot be null.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use. May be null.

Applies to

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>, HostServices, BuildRequestDataFlags)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraphEntryPoint projectGraphEntryPoint, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraphEntryPoint * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoint As ProjectGraphEntryPoint, targetsToBuild As ICollection(Of String), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectGraphEntryPoint
ProjectGraphEntryPoint

The entry point to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

flags
BuildRequestDataFlags

Flags controlling this build request.

Applies to

GraphBuildRequestData(ProjectGraph, ICollection<String>, HostServices, BuildRequestDataFlags)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraph ^ projectGraph, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraph projectGraph, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraph * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraph As ProjectGraph, targetsToBuild As ICollection(Of String), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectGraph
ProjectGraph

The graph to build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

flags
BuildRequestDataFlags

Flags controlling this build request.

Applies to

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices, BuildRequestDataFlags)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(System::Collections::Generic::IEnumerable<Microsoft::Build::Graph::ProjectGraphEntryPoint> ^ projectGraphEntryPoints, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices, Microsoft::Build::Execution::BuildRequestDataFlags flags);
public GraphBuildRequestData (System.Collections.Generic.IEnumerable<Microsoft.Build.Graph.ProjectGraphEntryPoint> projectGraphEntryPoints, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices, Microsoft.Build.Execution.BuildRequestDataFlags flags);
new Microsoft.Build.Graph.GraphBuildRequestData : seq<Microsoft.Build.Graph.ProjectGraphEntryPoint> * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices * Microsoft.Build.Execution.BuildRequestDataFlags -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoints As IEnumerable(Of ProjectGraphEntryPoint), targetsToBuild As ICollection(Of String), hostServices As HostServices, flags As BuildRequestDataFlags)

Parameters

projectGraphEntryPoints
IEnumerable<ProjectGraphEntryPoint>

The entry points to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

flags
BuildRequestDataFlags

Flags controlling this build request.

Applies to

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>, HostServices)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraphEntryPoint projectGraphEntryPoint, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraphEntryPoint * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoint As ProjectGraphEntryPoint, targetsToBuild As ICollection(Of String), hostServices As HostServices)

Parameters

projectGraphEntryPoint
ProjectGraphEntryPoint

The entry point to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

Applies to

GraphBuildRequestData(ProjectGraph, ICollection<String>, HostServices)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraph ^ projectGraph, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraph projectGraph, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraph * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraph As ProjectGraph, targetsToBuild As ICollection(Of String), hostServices As HostServices)

Parameters

projectGraph
ProjectGraph

The graph to build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

Applies to

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(System::Collections::Generic::IEnumerable<Microsoft::Build::Graph::ProjectGraphEntryPoint> ^ projectGraphEntryPoints, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild);
public GraphBuildRequestData (System.Collections.Generic.IEnumerable<Microsoft.Build.Graph.ProjectGraphEntryPoint> projectGraphEntryPoints, System.Collections.Generic.ICollection<string> targetsToBuild);
new Microsoft.Build.Graph.GraphBuildRequestData : seq<Microsoft.Build.Graph.ProjectGraphEntryPoint> * System.Collections.Generic.ICollection<string> -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoints As IEnumerable(Of ProjectGraphEntryPoint), targetsToBuild As ICollection(Of String))

Parameters

projectGraphEntryPoints
IEnumerable<ProjectGraphEntryPoint>

The entry points to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

Applies to

GraphBuildRequestData(ProjectGraphEntryPoint, ICollection<String>)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(Microsoft::Build::Graph::ProjectGraphEntryPoint projectGraphEntryPoint, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild);
public GraphBuildRequestData (Microsoft.Build.Graph.ProjectGraphEntryPoint projectGraphEntryPoint, System.Collections.Generic.ICollection<string> targetsToBuild);
new Microsoft.Build.Graph.GraphBuildRequestData : Microsoft.Build.Graph.ProjectGraphEntryPoint * System.Collections.Generic.ICollection<string> -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoint As ProjectGraphEntryPoint, targetsToBuild As ICollection(Of String))

Parameters

projectGraphEntryPoint
ProjectGraphEntryPoint

The entry point to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

Applies to

GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint>, ICollection<String>, HostServices)

Source:
GraphBuildRequestData.cs

Constructs a GraphBuildRequestData for build requests based on a project graph entry points.

public:
 GraphBuildRequestData(System::Collections::Generic::IEnumerable<Microsoft::Build::Graph::ProjectGraphEntryPoint> ^ projectGraphEntryPoints, System::Collections::Generic::ICollection<System::String ^> ^ targetsToBuild, Microsoft::Build::Execution::HostServices ^ hostServices);
public GraphBuildRequestData (System.Collections.Generic.IEnumerable<Microsoft.Build.Graph.ProjectGraphEntryPoint> projectGraphEntryPoints, System.Collections.Generic.ICollection<string> targetsToBuild, Microsoft.Build.Execution.HostServices hostServices);
new Microsoft.Build.Graph.GraphBuildRequestData : seq<Microsoft.Build.Graph.ProjectGraphEntryPoint> * System.Collections.Generic.ICollection<string> * Microsoft.Build.Execution.HostServices -> Microsoft.Build.Graph.GraphBuildRequestData
Public Sub New (projectGraphEntryPoints As IEnumerable(Of ProjectGraphEntryPoint), targetsToBuild As ICollection(Of String), hostServices As HostServices)

Parameters

projectGraphEntryPoints
IEnumerable<ProjectGraphEntryPoint>

The entry points to use in the build.

targetsToBuild
ICollection<String>

The targets to build.

hostServices
HostServices

The host services to use, if any. May be null.

Applies to