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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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