public ForwardFidelityCustomTrackingSpan(TextVersion version, Span span, object customState, CustomTrackToVersion behavior) : base(version, span, SpanTrackingMode.Custom) { if (behavior == null) { throw new ArgumentNullException(nameof(behavior)); } this.behavior = behavior; this.customState = customState; }
public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) { throw new NotImplementedException(); }
public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) { return(new TrackingSpanMock(TextBuffer, span, SpanTrackingMode.EdgePositive, trackingFidelity)); }
public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) { if (behavior == null) { throw new ArgumentNullException("behavior"); } if (trackingFidelity != TrackingFidelityMode.Forward) { throw new NotImplementedException(); } return(new ForwardFidelityCustomTrackingSpan(this, span, customState, behavior)); }
public ITrackingSpan CreateCustomTrackingSpan(VisualStudio.Text.Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) => throw new NotImplementedException();
public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) { return new TrackingSpanMock(TextBuffer, span, SpanTrackingMode.EdgePositive, trackingFidelity); }
public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) { if (behavior == null) { throw new ArgumentNullException(nameof(behavior)); } throw new NotImplementedException(); }