C# 클래스 ICSharpCode.NRefactory.CSharp.CodeActions.TestRefactoringContext

상속: RefactoringContext
파일 보기 프로젝트 열기: mono-soc-2012/NRefactory 1 사용 예제들

공개 메소드들

메소드 설명
Create ( string content ) : TestRefactoringContext
GetLineByOffset ( int offset ) : IDocumentLine
GetLocation ( int offset ) : TextLocation
GetOffset ( TextLocation location ) : int
GetText ( ISegment segment ) : string
GetText ( int offset, int length ) : string
StartScript ( ) : Script
Supports ( System.Version version ) : bool
TestRefactoringContext ( IDocument document, TextLocation location, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver ) : System

비공개 메소드들

메소드 설명
Print ( AstNode node ) : void

메소드 상세

Create() 공개 정적인 메소드

public static Create ( string content ) : TestRefactoringContext
content string
리턴 TestRefactoringContext

GetLineByOffset() 공개 메소드

public GetLineByOffset ( int offset ) : IDocumentLine
offset int
리턴 IDocumentLine

GetLocation() 공개 메소드

public GetLocation ( int offset ) : TextLocation
offset int
리턴 TextLocation

GetOffset() 공개 메소드

public GetOffset ( TextLocation location ) : int
location TextLocation
리턴 int

GetText() 공개 메소드

public GetText ( ISegment segment ) : string
segment ISegment
리턴 string

GetText() 공개 메소드

public GetText ( int offset, int length ) : string
offset int
length int
리턴 string

StartScript() 공개 메소드

public StartScript ( ) : Script
리턴 Script

Supports() 공개 메소드

public Supports ( System.Version version ) : bool
version System.Version
리턴 bool

TestRefactoringContext() 공개 메소드

public TestRefactoringContext ( IDocument document, TextLocation location, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver ) : System
document IDocument
location TextLocation
resolver ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver
리턴 System