C# 클래스 Microsoft.Languages.Editor.ContainedLanguage.ContainedLanguageHandler

상속: IContainedLanguageHandler
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
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