C# Class ConvertToAutoPropertyCS.CodeRefactoringProvider

Inheritance: ICodeRefactoringProvider
Datei anzeigen Open project: 2j2e/presentations

Public Methods

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

Private Methods

Method Description
HasBothAccessors ( BasePropertyDeclarationSyntax property ) : bool

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

Method Details

GetRefactoring() public method

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