C# Class Microsoft.VisualStudio.Editor.Mocks.PersistentSpanMock

Inheritance: IPersistentSpan
显示文件 Open project: Microsoft/RTVS

Public Methods

Method Description
Dispose ( ) : void
PersistentSpanMock ( ITextBuffer textBuffer, Span span, string filePath ) : System
TryGetEndLineIndex ( int &endLine, int &endIndex ) : bool
TryGetSpan ( Span &span ) : bool
TryGetStartLineIndex ( int &startLine, int &startIndex ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PersistentSpanMock() public method

public PersistentSpanMock ( ITextBuffer textBuffer, Span span, string filePath ) : System
textBuffer ITextBuffer
span Span
filePath string
return System

TryGetEndLineIndex() public method

public TryGetEndLineIndex ( int &endLine, int &endIndex ) : bool
endLine int
endIndex int
return bool

TryGetSpan() public method

public TryGetSpan ( Span &span ) : bool
span Span
return bool

TryGetStartLineIndex() public method

public TryGetStartLineIndex ( int &startLine, int &startIndex ) : bool
startLine int
startIndex int
return bool