Inheritance: IDocumentTrackingService, IVsSelectionEvents, IDisposable
Example #1
0
            public FrameListener(VisualStudioDocumentTrackingService service, IVsWindowFrame frame, DocumentId id)
            {
                this.Frame = frame;
                this.Id    = id;
                _service   = service;

                ((IVsWindowFrame2)frame).Advise(this, out _cookie);
            }
Example #2
0
 public RoslynDocumentProvider(
     IVisualStudioHostProjectContainer projectContainer,
     IServiceProvider serviceProvider,
     IDocumentTrackingService documentTrackingService = null)
     : base(projectContainer, serviceProvider, signUpForFileChangeNotification: true)
 {
     _documentTrackingService = documentTrackingService as VisualStudioDocumentTrackingService;
 }
            public FrameListener(VisualStudioDocumentTrackingService service, IVsWindowFrame frame, DocumentId id)
            {
                this.Frame = frame;
                this.Id = id;
                _service = service;

                ((IVsWindowFrame2)frame).Advise(this, out _cookie);
            }
 public NonRoslynTextBufferTracker(VisualStudioDocumentTrackingService owner)
 {
     _owner = owner;
     _views = new HashSet <ITextView>();
 }
 public NonRoslynTextBufferTracker(VisualStudioDocumentTrackingService owner)
 {
     _owner = owner;
     _views = new HashSet<ITextView>();
 }