Renamer.RenameDocumentActionSet Class

Definition

Information about rename document calls that allows them to be applied as individual actions. Actions are individual units of work that can change the contents of one or more document in the solution. Even if the ApplicableActions is empty, the document metadata will still be updated by calling UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken)

To apply all actions use UpdateSolutionAsync(Solution, CancellationToken), or use a subset of the actions by calling UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken). Actions can be applied in any order. Each action has a description of the changes that it will apply that can be presented to a user.

C#
public sealed class Renamer.RenameDocumentActionSet
Inheritance
Renamer.RenameDocumentActionSet

Properties

ApplicableActions

All applicable actions computed for the action. Action set may be empty, which represents updates to document contents rather than metadata. Document metadata will still not be updated unless UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken) is called.

Methods

Applies to

Produit Versions
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0