C# 클래스 ShaderTools.VisualStudio.Core.Parsing.BackgroundParserBase

상속: IDisposable
파일 보기 프로젝트 열기: tgjones/HlslTools

공개 메소드들

메소드 설명
Dispose ( ) : void
SubscribeToThrottledSemanticModelAvailable ( BackgroundParserSubscriptionDelay delay, Action callback ) : IDisposable
SubscribeToThrottledSyntaxTreeAvailable ( BackgroundParserSubscriptionDelay delay, Action callback ) : IDisposable

보호된 메소드들

메소드 설명
BackgroundParserBase ( ITextBuffer textBuffer ) : System
CreateSyntaxTree ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : void
TryCreateSemanticModel ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : bool

비공개 메소드들

메소드 설명
DoWork ( ) : void
GetDelay ( BackgroundParserSubscriptionDelay delay ) : System.TimeSpan
OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
RaiseEvent ( EventHandler handler, BackgroundParserEventArgs args ) : void

메소드 상세

BackgroundParserBase() 보호된 메소드

protected BackgroundParserBase ( ITextBuffer textBuffer ) : System
textBuffer ITextBuffer
리턴 System

CreateSyntaxTree() 보호된 추상적인 메소드

protected abstract CreateSyntaxTree ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : void
snapshot ITextSnapshot
cancellationToken System.Threading.CancellationToken
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

SubscribeToThrottledSemanticModelAvailable() 공개 메소드

public SubscribeToThrottledSemanticModelAvailable ( BackgroundParserSubscriptionDelay delay, Action callback ) : IDisposable
delay BackgroundParserSubscriptionDelay
callback Action
리턴 IDisposable

SubscribeToThrottledSyntaxTreeAvailable() 공개 메소드

public SubscribeToThrottledSyntaxTreeAvailable ( BackgroundParserSubscriptionDelay delay, Action callback ) : IDisposable
delay BackgroundParserSubscriptionDelay
callback Action
리턴 IDisposable

TryCreateSemanticModel() 보호된 추상적인 메소드

protected abstract TryCreateSemanticModel ( ITextSnapshot snapshot, CancellationToken cancellationToken ) : bool
snapshot ITextSnapshot
cancellationToken System.Threading.CancellationToken
리턴 bool