interface

IFixSuggestionProvider

Namespace
RefSafe.Pro
Assembly
RefSafe.Pro.Editor
public interface IFixSuggestionProvider

Produces candidate replacements for an issue alongside the deterministic fix the matching IIssueFixer offers. Currently consumed by the missing-reference flow to surface "Replace with…" entries beneath the existing "Clear" action.

Methods

CanSuggest
bool CanSuggest(ScanIssue issue)

Returns true if this provider can produce suggestions for the issue.

Suggest
IReadOnlyList<FixSuggestion> Suggest(ScanIssue issue)

Returns the best candidates for issue, ordered by relevance (highest score first). Implementations should cap the list at a reasonable size - the UI renders the top three.

Generated from Editor/Features/Fixes/Domain/IFixSuggestionProvider.cs in RefSafe Pro 2.2.0.