TagActionStepBase
public abstract class TagActionStepBase : ActionStepBase Automator step for assigning or removing a configured tag from the packages or files in the current action context.
Constructors
Section titled “Constructors”
TagActionStepBase()
Section titled “TagActionStepBase()”protected TagActionStepBase()Methods
Section titled “Methods”
Run(List)
Section titled “Run(List)”public override Task Run(List<ParameterValue> parameters)Applies or removes the configured tag from the packages or files in the current Automator action context.
Parameters
| Name | Type |
|---|---|
parameters |
System.Collections.Generic.List{Automator.ParameterValue} |
Returns
System.Threading.Tasks.Task
GetTargetItems(List)
Section titled “GetTargetItems(List)”protected abstract List<AssetInfo> GetTargetItems(List<ParameterValue> parameters)Gets the list of items to tag (packages or files).
Parameters
| Name | Type |
|---|---|
parameters |
System.Collections.Generic.List{Automator.ParameterValue} |
Returns
System.Collections.Generic.List{AssetInventory.AssetInfo}
ApplyTags(List, List)
Section titled “ApplyTags(List, List)”protected abstract void ApplyTags(List<AssetInfo> items, List<string> tags)Applies tags to the items (add or remove).
Parameters
| Name | Type |
|---|---|
items |
System.Collections.Generic.List{AssetInventory.AssetInfo} |
tags |
System.Collections.Generic.List{System.String} |