Class NamedDependency
Represents a dependency described by a name
Implements
Inherited Members
Namespace: Unity.Services.DeploymentApi.Editor
Assembly: Unity.Services.DeploymentApi.dll
Syntax
public class NamedDependency : IDependency
Properties
ResourceName
The name of the dependency
Declaration
public string ResourceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Resolve(IReadOnlyList<IDeploymentItem>)
Returns the DeploymentItem that matches the dependency, null otherwise
Declaration
public IDeploymentItem Resolve(IReadOnlyList<IDeploymentItem> deployedItems)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<IDeploymentItem> | deployedItems | Items that are being deployed |
Returns
| Type | Description |
|---|---|
| IDeploymentItem | Item that satisfies the dependency, null otherwise |
ToString()
Returns a string representation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The string representation |