C# 클래스 Microsoft.Languages.Editor.Outline.OutlineRegionBuilder

Base outline (collapsible regions) builder. Performs region building in a background thread that starts on idle so it does not run continuously as user is typing or otherwise constantly changing the underlying text buffer content.
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
BuildRegions ( OutlineRegionCollection newRegions ) : bool
Dispose ( ) : void

보호된 메소드들

메소드 설명
CompareRegions ( OutlineRegionCollection newRegions, OutlineRegionCollection oldRegions, int upperBound ) : ITextRange
Dispose ( bool disposing ) : void
MainThreadAction ( object backgroundProcessingResult ) : void
OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
OutlineRegionBuilder ( ITextBuffer textBuffer, IEditorShell editorShell ) : System
TaskAction ( ) : object

메소드 상세

BuildRegions() 공개 추상적인 메소드

public abstract BuildRegions ( OutlineRegionCollection newRegions ) : bool
newRegions OutlineRegionCollection
리턴 bool

CompareRegions() 보호된 메소드

protected CompareRegions ( OutlineRegionCollection newRegions, OutlineRegionCollection oldRegions, int upperBound ) : ITextRange
newRegions OutlineRegionCollection
oldRegions OutlineRegionCollection
upperBound int
리턴 ITextRange

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

MainThreadAction() 보호된 메소드

protected MainThreadAction ( object backgroundProcessingResult ) : void
backgroundProcessingResult object
리턴 void

OnTextBufferChanged() 보호된 메소드

protected OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
sender object
e TextContentChangedEventArgs
리턴 void

OutlineRegionBuilder() 보호된 메소드

protected OutlineRegionBuilder ( ITextBuffer textBuffer, IEditorShell editorShell ) : System
textBuffer ITextBuffer
editorShell IEditorShell
리턴 System

TaskAction() 보호된 메소드

protected TaskAction ( ) : object
리턴 object