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)Initializes a new instance of RefactoringTestData.

Properties

PropertySummary
AdditionalFilesGets additional source files.
EquivalenceKeyGets code action's equivalence key.
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)[deprecated] Creates and return new instance of RefactoringTestData updated with specified values.