Method HasBuildArtifact
HasBuildArtifact(Type)
Determine if a build artifact that is assignable to the specified type is present.
Declaration
public override bool HasBuildArtifact(Type buildArtifactType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | buildArtifactType | The build artifact type. |
Returns
| Type | Description |
|---|---|
| bool | true if a matching build artifact is found, false otherwise. |
Overrides
HasBuildArtifact<T>()
Determine if a build artifact that is assignable to the specified type is present.
Declaration
public override bool HasBuildArtifact<T>() where T : class, IBuildArtifact, new()
Returns
| Type | Description |
|---|---|
| bool | true if a matching build artifact is found, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | The build artifact type. |