src/Misc/EFTools/DesignXmlCore/Refactoring/PreviewChangesList.cs
/// <summary>
///     Used to diaplay changes in text view.
/// </summary>
/// <param name="index"></param>
/// <param name="pIUnknownTextView"></param>
/// <returns></returns>
Used to diaplay changes in text view.
Used to diaplay changes in text view .
public int OnRequestSource(uint index, object pIUnknownTextView)
        {
            ArgumentValidation.CheckForOutOfRangeException(index, 0, _changeList.Count - 1);
            var vsTextView = pIUnknownTextView as IVsTextView;
            if (vsTextView == null)
            {
                return VSConstants.E_NOINTERFACE;
            }
            var node = _changeList[(int)index];
            var file = _previewData.GetFileChange(node);
            _previewBuffer.DisplayPreview(vsTextView, file, node);
            return VSConstants.S_OK;
        }
public int OnRequestSource ( uint index , object pIUnknownTextView ) { ArgumentValidation . CheckForOutOfRangeException ( index , 0 , _changeList . Count - 1 ) ; var vsTextView = pIUnknownTextView as IVsTextView ; if ( vsTextView == null ) { return VSConstants . E_NOINTERFACE ; } var node = _changeList [ ( int ) index ] ; var file = _previewData . GetFileChange ( node ) ; _previewBuffer . DisplayPreview ( vsTextView , file , node ) ; return VSConstants . S_OK ; }
Used to diaplay changes in text view.
Used to diaplay changes in text view .
None
index
uint
None
pIUnknownTextView
object
None