Class ResultBase
Base class for results.
Namespace: Unity.Build
Syntax
public abstract class ResultBase
Properties
BuildConfiguration
The build configuration used in the operation.
Declaration
public BuildConfiguration BuildConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| BuildConfiguration |
BuildPipeline
The build pipeline used in the operation.
Declaration
public BuildPipeline BuildPipeline { get; }
Property Value
| Type | Description |
|---|---|
| BuildPipeline |
Duration
The duration of the operation.
Declaration
public TimeSpan Duration { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Exception
Exception attached to this result.
Declaration
public Exception Exception { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
Failed
Determine whether or not the operation failed.
Declaration
public bool Failed { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Message
Message attached to this result.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| String |
Succeeded
Determine whether or not the operation succeeded.
Declaration
public bool Succeeded { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
LogResult()
Log the result to the console window.
Declaration
public void LogResult()
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |