Class RefactorItem
One item of a list a refactoring asks about: a parameter, a member.
public sealed record RefactorItem : IEquatable<RefactorItem>
- Inheritance
-
RefactorItem
- Implements
- Inherited Members
Properties
Choices
What the user chooses for the item: its name, how it is passed, whether it is kept.
public IReadOnlyList<RefactorChoice> Choices { get; init; }
Property Value
Id
What identifies the item among the list's, in the answer to it (Id).
public string Id { get; init; }
Property Value
Label
What a dialog labels it with: the item as the code writes it (ByRef total As Long).
public string Label { get; init; }
Property Value
Reason
Why the item is what it is by default, in the language of the user interface: why a parameter is passed by reference. null when nothing is to be said.
public string? Reason { get; init; }