src/Misc/EFTools/DesignXmlCore/Refactoring/PreviewChangesList.cs
/// <summary>
///     An item has been expanded, get the next list
/// </summary>
/// <param name="index"></param>
/// <param name="pfCanRecurse"></param>
/// <param name="ppIVsSimplePreviewChangesList"></param>
/// <returns></returns>
An item has been expanded, get the next list
An item has been expanded get the next list
public int GetExpandedList(uint index, out int pfCanRecurse, out IVsLiteTreeList pptlNode)
        {
            ArgumentValidation.CheckForOutOfRangeException(index, 0, _changeList.Count - 1);
            pfCanRecurse = 0;
            if (!_changeList[(int)index].IsExpandable)
            {
                pptlNode = null;
                return VSConstants.E_NOTIMPL;
            }
            else
            {
                var previewChangesList = new PreviewChangesList(_changeList[(int)index].ChildList, _previewData, _previewBuffer);
                pptlNode = previewChangesList;
                return VSConstants.S_OK;
            }
        }
public int GetExpandedList ( uint index , out int pfCanRecurse , out IVsLiteTreeList pptlNode ) { ArgumentValidation . CheckForOutOfRangeException ( index , 0 , _changeList . Count - 1 ) ; pfCanRecurse = 0 ; if ( ! _changeList [ ( int ) index ] . IsExpandable ) { pptlNode = null ; return VSConstants . E_NOTIMPL ; } else { var previewChangesList = new PreviewChangesList ( _changeList [ ( int ) index ] . ChildList , _previewData , _previewBuffer ) ; pptlNode = previewChangesList ; return VSConstants . S_OK ; } }
An item has been expanded, get the next list
An item has been expanded get the next list
None
index
uint
None
int
out
IVsLiteTreeList
out
pfCanRecurse
None
ppIVsSimplePreviewChangesList
None