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

Inheritance: IBufferGraph
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
BufferGraphMock ( ITextBuffer textBuffer ) : System
CreateMappingPoint ( SnapshotPoint point, PointTrackingMode trackingMode ) : IMappingPoint
CreateMappingSpan ( SnapshotSpan span, SpanTrackingMode trackingMode ) : IMappingSpan
GetTextBuffers ( Predicate match ) : Collection
MapDownToBuffer ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextBuffer targetBuffer ) : NormalizedSnapshotSpanCollection
MapDownToBuffer ( SnapshotPoint position, PointTrackingMode trackingMode, ITextBuffer targetBuffer, PositionAffinity affinity ) : SnapshotPoint?
MapDownToFirstMatch ( SnapshotSpan span, SpanTrackingMode trackingMode, Predicate match ) : NormalizedSnapshotSpanCollection
MapDownToFirstMatch ( SnapshotPoint position, PointTrackingMode trackingMode, Predicate match, PositionAffinity affinity ) : SnapshotPoint?
MapDownToInsertionPoint ( SnapshotPoint position, PointTrackingMode trackingMode, Predicate match ) : SnapshotPoint?
MapDownToSnapshot ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextSnapshot targetSnapshot ) : NormalizedSnapshotSpanCollection
MapDownToSnapshot ( SnapshotPoint position, PointTrackingMode trackingMode, ITextSnapshot targetSnapshot, PositionAffinity affinity ) : SnapshotPoint?
MapUpToBuffer ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextBuffer targetBuffer ) : NormalizedSnapshotSpanCollection
MapUpToBuffer ( SnapshotPoint point, PointTrackingMode trackingMode, PositionAffinity affinity, ITextBuffer targetBuffer ) : SnapshotPoint?
MapUpToFirstMatch ( SnapshotSpan span, SpanTrackingMode trackingMode, Predicate match ) : NormalizedSnapshotSpanCollection
MapUpToFirstMatch ( SnapshotPoint point, PointTrackingMode trackingMode, Predicate match, PositionAffinity affinity ) : SnapshotPoint?
MapUpToSnapshot ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextSnapshot targetSnapshot ) : NormalizedSnapshotSpanCollection
MapUpToSnapshot ( SnapshotPoint point, PointTrackingMode trackingMode, PositionAffinity affinity, ITextSnapshot targetSnapshot ) : SnapshotPoint?

Method Details

BufferGraphMock() public méthode

public BufferGraphMock ( ITextBuffer textBuffer ) : System
textBuffer ITextBuffer
Résultat System

CreateMappingPoint() public méthode

public CreateMappingPoint ( SnapshotPoint point, PointTrackingMode trackingMode ) : IMappingPoint
point SnapshotPoint
trackingMode PointTrackingMode
Résultat IMappingPoint

CreateMappingSpan() public méthode

public CreateMappingSpan ( SnapshotSpan span, SpanTrackingMode trackingMode ) : IMappingSpan
span SnapshotSpan
trackingMode SpanTrackingMode
Résultat IMappingSpan

GetTextBuffers() public méthode

public GetTextBuffers ( Predicate match ) : Collection
match Predicate
Résultat Collection

MapDownToBuffer() public méthode

public MapDownToBuffer ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextBuffer targetBuffer ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
targetBuffer ITextBuffer
Résultat NormalizedSnapshotSpanCollection

MapDownToBuffer() public méthode

public MapDownToBuffer ( SnapshotPoint position, PointTrackingMode trackingMode, ITextBuffer targetBuffer, PositionAffinity affinity ) : SnapshotPoint?
position SnapshotPoint
trackingMode PointTrackingMode
targetBuffer ITextBuffer
affinity PositionAffinity
Résultat SnapshotPoint?

MapDownToFirstMatch() public méthode

public MapDownToFirstMatch ( SnapshotSpan span, SpanTrackingMode trackingMode, Predicate match ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
match Predicate
Résultat NormalizedSnapshotSpanCollection

MapDownToFirstMatch() public méthode

public MapDownToFirstMatch ( SnapshotPoint position, PointTrackingMode trackingMode, Predicate match, PositionAffinity affinity ) : SnapshotPoint?
position SnapshotPoint
trackingMode PointTrackingMode
match Predicate
affinity PositionAffinity
Résultat SnapshotPoint?

MapDownToInsertionPoint() public méthode

public MapDownToInsertionPoint ( SnapshotPoint position, PointTrackingMode trackingMode, Predicate match ) : SnapshotPoint?
position SnapshotPoint
trackingMode PointTrackingMode
match Predicate
Résultat SnapshotPoint?

MapDownToSnapshot() public méthode

public MapDownToSnapshot ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextSnapshot targetSnapshot ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
targetSnapshot ITextSnapshot
Résultat NormalizedSnapshotSpanCollection

MapDownToSnapshot() public méthode

public MapDownToSnapshot ( SnapshotPoint position, PointTrackingMode trackingMode, ITextSnapshot targetSnapshot, PositionAffinity affinity ) : SnapshotPoint?
position SnapshotPoint
trackingMode PointTrackingMode
targetSnapshot ITextSnapshot
affinity PositionAffinity
Résultat SnapshotPoint?

MapUpToBuffer() public méthode

public MapUpToBuffer ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextBuffer targetBuffer ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
targetBuffer ITextBuffer
Résultat NormalizedSnapshotSpanCollection

MapUpToBuffer() public méthode

public MapUpToBuffer ( SnapshotPoint point, PointTrackingMode trackingMode, PositionAffinity affinity, ITextBuffer targetBuffer ) : SnapshotPoint?
point SnapshotPoint
trackingMode PointTrackingMode
affinity PositionAffinity
targetBuffer ITextBuffer
Résultat SnapshotPoint?

MapUpToFirstMatch() public méthode

public MapUpToFirstMatch ( SnapshotSpan span, SpanTrackingMode trackingMode, Predicate match ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
match Predicate
Résultat NormalizedSnapshotSpanCollection

MapUpToFirstMatch() public méthode

public MapUpToFirstMatch ( SnapshotPoint point, PointTrackingMode trackingMode, Predicate match, PositionAffinity affinity ) : SnapshotPoint?
point SnapshotPoint
trackingMode PointTrackingMode
match Predicate
affinity PositionAffinity
Résultat SnapshotPoint?

MapUpToSnapshot() public méthode

public MapUpToSnapshot ( SnapshotSpan span, SpanTrackingMode trackingMode, ITextSnapshot targetSnapshot ) : NormalizedSnapshotSpanCollection
span SnapshotSpan
trackingMode SpanTrackingMode
targetSnapshot ITextSnapshot
Résultat NormalizedSnapshotSpanCollection

MapUpToSnapshot() public méthode

public MapUpToSnapshot ( SnapshotPoint point, PointTrackingMode trackingMode, PositionAffinity affinity, ITextSnapshot targetSnapshot ) : SnapshotPoint?
point SnapshotPoint
trackingMode PointTrackingMode
affinity PositionAffinity
targetSnapshot ITextSnapshot
Résultat SnapshotPoint?