public MockWindowFrame AddDocument(string path)
        {
            MockWindowFrame frame = new MockWindowFrame();

            frame.TextLines = new MockTextLines(path);
            _documents.Add(path, frame);
            return(frame);
        }
Esempio n. 2
0
        public int Navigate(string lpszURL, uint dwNaviageFlags, out IVsWindowFrame ppFrame)
        {
            if (OnNavigate != null)
            {
                OnNavigate(this, new NavigateEventArgs(lpszURL));
            }

            ppFrame = new MockWindowFrame();
            return(VSConstants.S_OK);
        }