C# 클래스 ConvertToAutoPropertyCS.CodeRefactoringProvider

상속: ICodeRefactoringProvider
파일 보기 프로젝트 열기: 2j2e/presentations

공개 메소드들

메소드 설명
GetRefactoring ( IDocument document, TextSpan textSpan, CancellationToken cancellationToken ) : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoring

비공개 메소드들

메소드 설명
HasBothAccessors ( BasePropertyDeclarationSyntax property ) : bool

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

메소드 상세

GetRefactoring() 공개 메소드

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