Skip to main content

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

ConstructorSummary
RefactoringTestData(String, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, String, String)Initializes a new instance of RefactoringTestData.

Properties

PropertySummary
AdditionalFilesGets additional source files.
DirectoryPathGets the relative directory path.
EquivalenceKeyGets code action's equivalence key.
FileNameGets the file name.
SourceGets a source code to be refactored.
SpansGets text spans on which a code refactoring will be applied.

Methods

MethodSummary
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.