Class BuildContext
Holds contextual information when building a build pipeline.
Implements
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public sealed class BuildContext : ContextBase, IDisposable
Properties
Name | Description |
---|---|
Build |
Quick access to build manifest value. |
Build |
The build progress object used througout the build. |
Methods
Name | Description |
---|---|
Failure(Exception) | Get a build result representing a failure. |
Failure(string) | Get a build result representing a failure. |
Get |
Get all build artifact values. |
Get |
Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration. |
Get |
Get the first build artifact value that is assignable to specified type. Multiple build artifact value can be stored per build configuration. |
Get |
Get the first build artifact value that is assignable to specified type, or create and set it if not found. Multiple build artifact value can be stored per build configuration. |
Get |
Get the first build artifact value that is assignable to specified type, or create and set it if not found. Multiple build artifact value can be stored per build configuration. |
Has |
Determine if a build artifact that is assignable to the specified type is present. |
Has |
Determine if a build artifact that is assignable to the specified type is present. |
Remove |
Remove all build artifacts. |
Remove |
Remove all build artifact that is assignable to specified type. |
Remove |
Remove all build artifact that is assignable to specified type. |
Set |
Set the value of a build artifact. |
Success() | Get a build result representing a success. |