Skip to content

AddFileTagStep

ClassAssetInventoryAssetInventory.Editor
public sealed class AddFileTagStep : TagActionStepBase

Assigns a configured tag to every indexed file in the current Automator action context.

public AddFileTagStep()

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}

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}