Class DeploymentItemExtensions
Class containing extension methods to make it easier to manipulate the deployment status of an item.
Inherited Members
Namespace: Unity.Services.DeploymentApi .Editor
Assembly: Unity.Services.DeploymentApi.dll
Syntax
public static class DeploymentItemExtensions
Methods
SetStatusDescription(IDeploymentItem, string)
Extension method to set the detail of the Deployment Item description.
Declaration
public static void SetStatusDescription(this IDeploymentItem self, string description)
Parameters
Type | Name | Description |
---|---|---|
IDeployment |
self | The target of the invocation. |
string | description | The description to set. |
SetStatusDetail(IDeploymentItem, string)
Extension method to set the detail of the Deployment Item status.
Declaration
public static void SetStatusDetail(this IDeploymentItem self, string detail)
Parameters
Type | Name | Description |
---|---|---|
IDeployment |
self | The target of the invocation. |
string | detail | The detail to set. |
SetStatusSeverity(IDeploymentItem, SeverityLevel)
Extension method to set the detail of the Deployment Item severityLevel.
Declaration
public static void SetStatusSeverity(this IDeploymentItem self, SeverityLevel severityLevel)
Parameters
Type | Name | Description |
---|---|---|
IDeployment |
self | The target of the invocation. |
Severity |
severityLevel | The severityLevel to set. |