Method GetBuildArtifact
GetBuildArtifact(Type)
Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration.
Declaration
public virtual IBuildArtifact GetBuildArtifact(Type buildArtifactType)
Parameters
Type | Name | Description |
---|---|---|
Type | buildArtifactType | The build artifact type. |
Returns
Type | Description |
---|---|
IBuildArtifact | A build artifact value if found, null otherwise. |
GetBuildArtifact<T>()
Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration.
Declaration
public virtual T GetBuildArtifact<T>() where T : class, IBuildArtifact, new()
Returns
Type | Description |
---|---|
T | A build artifact value if found, null otherwise. |
Type Parameters
Name | Description |
---|---|
T | The build artifact type. |