AddFileTagStep
public sealed class AddFileTagStep : TagActionStepBaseAssigns a configured tag to every indexed file in the current Automator action context.
Constructors
Section titled “Constructors”
AddFileTagStep()
Section titled “AddFileTagStep()”public AddFileTagStep()Methods
Section titled “Methods”
GetTargetItems(List)
Section titled “GetTargetItems(List)”protected override 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 override 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} |