Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

AssetEditingModule.ValidateDeleteSelection

Section titled “AssetEditingModule.ValidateDeleteSelection”
  • Checks the entire source selection before a batch mutation, including extension validation and read-only ownership.

API: engine
Project: Inno.Editor.Assets

public Inno.Editor.Assets.AssetOperationValidation Inno.Editor.Assets.AssetEditingModule.ValidateDeleteSelection(Inno.Editor.Core.EditorContext editor, System.Collections.Generic.IReadOnlyList<Inno.Assets.Pipeline.AssetFileEntry> targets)

Parameter editor: The immediate Editor context.

Parameter targets: Fresh source entries in selection order.

The first rejection, or a valid result when every source can be deleted.