C# Класс Microsoft.Languages.Editor.ContainedLanguage.ContainedLanguageHandler

Наследование: IContainedLanguageHandler
Показать файл Открыть проект

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

Метод Описание
GetCodeBlockOfLocation ( int bufferPosition ) : ITextRange

Locates contained language block for a given location.

GetCommandTargetOfLocation ( ITextView textView, int bufferPosition ) : ICommandTarget

Retrieves contained command target for a given location in the buffer.

Защищенные методы

Метод Описание
ContainedLanguageHandler ( ITextBuffer textBuffer, ICoreShell coreShell ) : Microsoft.Common.Core.Shell
GetLanguageBlockOfLocation ( int bufferPosition ) : ITextRange
OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void

Описание методов

ContainedLanguageHandler() защищенный Метод

protected ContainedLanguageHandler ( ITextBuffer textBuffer, ICoreShell coreShell ) : Microsoft.Common.Core.Shell
textBuffer ITextBuffer
coreShell ICoreShell
Результат Microsoft.Common.Core.Shell

GetCodeBlockOfLocation() публичный абстрактный Метод

Locates contained language block for a given location.
public abstract GetCodeBlockOfLocation ( int bufferPosition ) : ITextRange
bufferPosition int
Результат ITextRange

GetCommandTargetOfLocation() публичный абстрактный Метод

Retrieves contained command target for a given location in the buffer.
public abstract GetCommandTargetOfLocation ( ITextView textView, int bufferPosition ) : ICommandTarget
textView ITextView
bufferPosition int
Результат ICommandTarget

GetLanguageBlockOfLocation() защищенный Метод

protected GetLanguageBlockOfLocation ( int bufferPosition ) : ITextRange
bufferPosition int
Результат ITextRange

OnTextBufferChanged() защищенный абстрактный Метод

protected abstract OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
sender object
e TextContentChangedEventArgs
Результат void