Class ContextBase
Implements
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public abstract class ContextBase : IDisposable
Properties
Name | Description |
---|---|
Build |
The build configuration asset GUID. |
Build |
The build configuration asset path. |
Build |
The build configuration name. |
Values | List of all values stored. |
Methods
Name | Description |
---|---|
Dispose() | Provides a mechanism for releasing unmanaged resources. |
Get |
Get the value of a component type if found.
Otherwise an instance created using Type |
Get |
Get the value of a component type if found.
Otherwise an instance created using Type |
Get |
Get a flatten list of all component types from this container and its dependencies. Throws if a component type is not in UsedComponents list. |
Get |
Get a flatten list of all components recursively from this container and its dependencies. Throws if a component type is not in UsedComponents list. |
Get |
Get a flatten list of all components recursively from this container and its dependencies, that matches Type. Throws if component type is not in UsedComponents list. |
Get |
Get a flatten list of all components recursively from this container and its dependencies, that matches |
Get |
Get the value of the first build artifact that is assignable to type Type. |
Get |
Get the value of the first build artifact that is assignable to type |
Get |
Get the last build result for this build configuration. |
Get |
Get value of type |
Get |
Get the output build directory override used in this build context. The output build directory can be overridden using a OutputBuildDirectory component. |
Get |
Get value of type |
Get |
Get value of type |
Has |
Determine if a component type is stored in this container or its dependencies. Throws if component type is not in UsedComponents list. |
Has |
Determine if a component type is stored in this container or its dependencies. Throws if component type is not in UsedComponents list. |
Has |
Determine if the value of type |
Is |
Determine if a component type is inherited from a dependency. Throws if component type is not in UsedComponents list. |
Is |
Determine if a component type is inherited from a dependency. Throws if component type is not in UsedComponents list. |
Is |
Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list. |
Is |
Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list. |
Remove |
Remove a component type from this context. NOTE: The build configuration asset is not modified. |
Remove |
Remove all |
Remove |
Remove value of type |
Set |
Set the value of a component type on this context using an instance created using Type |
Set |
Set the value of a component type on this context. NOTE: The build configuration asset is not modified. |
Set |
Set the value of a component type on this context using an instance created using Type |
Set |
Set the value of a component type on this context. NOTE: The build configuration asset is not modified. |
Set |
Set value of type |
Set |
Set value of type |
Try |
Try to get the value of a component type. Throws if component type is not in UsedComponents list. |
Try |
Try to get the value of a component type. Throws if component type is not in UsedComponents list. |