RefactoringTestData Class
Namespace: Roslynator.Testing
Assembly: Roslynator.Testing.Common.dll
Gets test data for a code refactoring.
public sealed class RefactoringTestData
Inheritance
Object → RefactoringTestData
Constructors
| Constructor | Summary |
|---|---|
| RefactoringTestData(String, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, String, String) | Initializes a new instance of RefactoringTestData. |
Properties
| Property | Summary |
|---|---|
| AdditionalFiles | Gets additional source files. |
| DirectoryPath | Gets the relative directory path. |
| EquivalenceKey | Gets code action's equivalence key. |
| FileName | Gets the file name. |
| Source | Gets a source code to be refactored. |
| Spans | Gets text spans on which a code refactoring will be applied. |
Methods
| Method | Summary |
|---|---|
| Equals(Object) | (Inherited from Object) |
| GetHashCode() | (Inherited from Object) |
| GetType() | (Inherited from Object) |
| MemberwiseClone() | (Inherited from Object) |
| ToString() | (Inherited from Object) |
| Update(String, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, String, String) | [deprecated] Creates and return new instance of RefactoringTestData updated with specified values. |