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) | Initializes a new instance of RefactoringTestData. |
Properties
Property | Summary |
---|---|
AdditionalFiles | Gets additional source files. |
EquivalenceKey | Gets code action's equivalence key. |
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) | [deprecated] Creates and return new instance of RefactoringTestData updated with specified values. |