Renamer.RenameDocumentActionSet Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.public sealed class Renamer.RenameDocumentActionSet
type Renamer.RenameDocumentActionSet = class
Public NotInheritable Class Renamer.RenameDocumentActionSet
- Inheritance
-
Renamer.RenameDocumentActionSet
Applicable |
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. |
Update |
Same as calling UpdateSolutionAsync(Solution, ImmutableArray<Renamer.RenameDocumentAction>, CancellationToken) with ApplicableActions as the argument |
Update |
Applies each Renamer.RenameDocumentAction in order and returns the final solution. All actions must be contained in ApplicableActions |
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 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :