public int Next(out IVsTextStreamMarker ppRetval) { ppRetval = null; if (_index >= 0 && _index < _markers.Length) { ppRetval = _markers[_index]; _index++; return VSConstants.S_OK; } return VSConstants.S_FALSE; }
public int Next(out IVsTextStreamMarker ppRetval) { ppRetval = null; if (_index >= 0 && _index < _markers.Length) { ppRetval = _markers[_index]; _index++; return(VSConstants.S_OK); } return(VSConstants.S_FALSE); }
public Marker(IVsTextStreamMarker m, int start, int length) : base(start, length) { StreamMarker = m; }
public int FindMarkerByPosition(int iMarkerType, int iStartingPos, uint dwFlags, out IVsTextStreamMarker ppMarker) { throw new NotImplementedException(); }
public int CreateStreamMarker(int iMarkerType, int iPos, int iLength, IVsTextMarkerClient pClient, IVsTextStreamMarker[] ppMarker) { throw new NotImplementedException(); }
public VsEnumStreamMarkersMock(IVsTextStreamMarker[] markers) { _markers = markers; }
public int FindMarkerByPosition(int iMarkerType, int iStartingPos, uint dwFlags, out IVsTextStreamMarker ppMarker) { throw new Exception("The method or operation is not implemented."); }
public int CreateStreamMarker(int iMarkerType, int iPos, int iLength, IVsTextMarkerClient pClient, IVsTextStreamMarker[] ppMarker) { throw new Exception("The method or operation is not implemented."); }