LaunchBoxContributors
On this page

IRemovalCapability14.1

Interface in Unbroken.LaunchBox.Plugins.Capabilities.Installation

C#
public interface IRemovalCapability
Supplies a bounded file-removal plan when integration uninstall is unavailable.

Remarks

Integrations describe exact roots and relative files but never delete them through this capability. The host owns path validation, process-safety checks, confirmation, deletion, and cleanup policy. The selected integration must also supply ISessionEvidenceCapability. Missing or ambiguous process evidence prevents host removal.

Methods

PrepareRemovalAsync

C#
Task<RemovalPlan?> PrepareRemovalAsync(
    RemovalRequest request,
    CancellationToken cancellationToken
)
Prepares a bounded removal plan for one selected item.
request
The selected item context to remove.
cancellationToken
A token used to cancel preparation.

Returns

A bounded removal plan, or null when removal is unavailable.