C# Class ConvertToAutoPropertyCS.CodeRefactoringProvider

Inheritance: ICodeRefactoringProvider
Afficher le fichier Open project: 2j2e/presentations

Méthodes publiques

Méthode Description
GetRefactoring ( IDocument document, TextSpan textSpan, CancellationToken cancellationToken ) : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoring

Private Methods

Méthode Description
HasBothAccessors ( BasePropertyDeclarationSyntax property ) : bool

Returns true if both get and set accessors exist on the given property; otherwise false.

Method Details

GetRefactoring() public méthode

public GetRefactoring ( IDocument document, TextSpan textSpan, CancellationToken cancellationToken ) : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoring
document IDocument
textSpan TextSpan
cancellationToken System.Threading.CancellationToken
Résultat Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoring