IRemovalCapability14.1
Interface in Unbroken.LaunchBox.Plugins.Capabilities.Installation
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
PrepareRemovalAsyncPrepares a bounded removal plan for one selected item.
PrepareRemovalAsync
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, ornull when removal is unavailable.