C# 클래스 dnSpy.Contracts.Hex.HexBufferLine

Line information
파일 보기 프로젝트 열기: 0xd4d/dnSpy 1 사용 예제들

공개 메소드들

메소드 설명
GetAsciiSpan ( bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span

Gets the span of the ASCII column. This can be an empty span if the ASCII column isn't shown.

GetAsciiSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable

Gets ASCII spans

GetAsciiSpans ( HexBufferSpanSelection span ) : IEnumerable

Gets ASCII spans

GetClosestCellPosition ( HexLinePositionInfo position, bool onlyVisibleCells ) : HexCellPosition?

Gets the closest cell position

GetClosestCellPosition ( int linePosition, bool onlyVisibleCells ) : HexCellPosition?

Gets the closest cell position

GetLinePosition ( HexCellPosition position ) : int?

Gets a text line position or null

GetLinePositionInfo ( int linePosition ) : HexLinePositionInfo

Creates a HexLinePositionInfo

GetOffsetSpan ( ) : Microsoft.VisualStudio.Text.Span

Gets the span of the offset in Text. This can be an empty span if the offset column isn't shown.

GetSpan ( HexColumnType column, bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span

Gets the span of a column

GetSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable

Gets column spans in column order

GetSpans ( HexBufferSpanSelection span ) : IEnumerable

Gets column spans in column order

GetText ( HexBufferSpan visibleBytes ) : string

Gets the text. All cells outside the input range are cleared.

GetValuesSpan ( bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span

Gets the span of the values column

GetValuesSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable

Gets values spans

GetValuesSpans ( HexBufferSpanSelection span ) : IEnumerable

Gets values spans

IsColumnPresent ( HexColumnType column ) : bool

Returns true if a column is present

ToString ( ) : string

Returns Text

보호된 메소드들

메소드 설명
ClearCells ( char chars, bool isColumnPresent, HexCellCollection cells, HexBufferSpan visibleBytes ) : void
HexBufferLine ( ) : System

Constructor

비공개 메소드들

메소드 설명
Compare ( int linePosition, dnSpy.Contracts.Hex.HexCell a, dnSpy.Contracts.Hex.HexCell b ) : int
Create ( HexCellCollection collection, dnSpy.Contracts.Hex.HexCell first, dnSpy.Contracts.Hex.HexCell last, HexBufferSpan bufferSpan ) : dnSpy.Contracts.Hex.TextAndHexSpan
GetCells ( ) : HexCell>>.IEnumerable
GetClosestCellPosition ( int linePosition ) : HexLinePositionInfo?
GetLength ( int linePosition, HexCell a ) : int
GetTextAndHexSpans ( bool isColumnPresent, HexCellCollection collection, HexBufferSpan span, HexSpanSelectionFlags flags, Microsoft.VisualStudio.Text visibleSpan, Microsoft.VisualStudio.Text fullSpan ) : IEnumerable
GetVisible ( HexCellCollection collection, HexCell cell ) : int>?.KeyValuePair

메소드 상세

ClearCells() 보호된 메소드

protected ClearCells ( char chars, bool isColumnPresent, HexCellCollection cells, HexBufferSpan visibleBytes ) : void
chars char
isColumnPresent bool
cells HexCellCollection
visibleBytes HexBufferSpan
리턴 void

GetAsciiSpan() 공개 추상적인 메소드

Gets the span of the ASCII column. This can be an empty span if the ASCII column isn't shown.
public abstract GetAsciiSpan ( bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span
onlyVisibleCells bool true to only include visible characters, false to include the full column
리턴 Microsoft.VisualStudio.Text.Span

GetAsciiSpans() 공개 메소드

Gets ASCII spans
public GetAsciiSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable
span HexBufferSpan Buffer span
flags HexSpanSelectionFlags Flags
리턴 IEnumerable

GetAsciiSpans() 공개 메소드

Gets ASCII spans
public GetAsciiSpans ( HexBufferSpanSelection span ) : IEnumerable
span HexBufferSpanSelection Span and selection flags
리턴 IEnumerable

GetClosestCellPosition() 공개 메소드

Gets the closest cell position
public GetClosestCellPosition ( HexLinePositionInfo position, bool onlyVisibleCells ) : HexCellPosition?
position HexLinePositionInfo Position
onlyVisibleCells bool true to only return cells with data
리턴 HexCellPosition?

GetClosestCellPosition() 공개 메소드

Gets the closest cell position
public GetClosestCellPosition ( int linePosition, bool onlyVisibleCells ) : HexCellPosition?
linePosition int Line position
onlyVisibleCells bool true to only return cells with data
리턴 HexCellPosition?

GetLinePosition() 공개 메소드

Gets a text line position or null
public GetLinePosition ( HexCellPosition position ) : int?
position HexCellPosition Position
리턴 int?

GetLinePositionInfo() 공개 메소드

Creates a HexLinePositionInfo
public GetLinePositionInfo ( int linePosition ) : HexLinePositionInfo
linePosition int Line position
리턴 HexLinePositionInfo

GetOffsetSpan() 공개 추상적인 메소드

Gets the span of the offset in Text. This can be an empty span if the offset column isn't shown.
public abstract GetOffsetSpan ( ) : Microsoft.VisualStudio.Text.Span
리턴 Microsoft.VisualStudio.Text.Span

GetSpan() 공개 메소드

Gets the span of a column
public GetSpan ( HexColumnType column, bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span
column HexColumnType Colum
onlyVisibleCells bool true to only include visible values, false to include the full column
리턴 Microsoft.VisualStudio.Text.Span

GetSpans() 공개 메소드

Gets column spans in column order
public GetSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable
span HexBufferSpan Buffer span
flags HexSpanSelectionFlags Flags
리턴 IEnumerable

GetSpans() 공개 메소드

Gets column spans in column order
public GetSpans ( HexBufferSpanSelection span ) : IEnumerable
span HexBufferSpanSelection Span and selection flags
리턴 IEnumerable

GetText() 공개 메소드

Gets the text. All cells outside the input range are cleared.
public GetText ( HexBufferSpan visibleBytes ) : string
visibleBytes HexBufferSpan Visible bytes
리턴 string

GetValuesSpan() 공개 추상적인 메소드

Gets the span of the values column
public abstract GetValuesSpan ( bool onlyVisibleCells ) : Microsoft.VisualStudio.Text.Span
onlyVisibleCells bool true to only include visible values, false to include the full column
리턴 Microsoft.VisualStudio.Text.Span

GetValuesSpans() 공개 메소드

Gets values spans
public GetValuesSpans ( HexBufferSpan span, HexSpanSelectionFlags flags ) : IEnumerable
span HexBufferSpan Buffer span
flags HexSpanSelectionFlags Flags
리턴 IEnumerable

GetValuesSpans() 공개 메소드

Gets values spans
public GetValuesSpans ( HexBufferSpanSelection span ) : IEnumerable
span HexBufferSpanSelection Span and selection flags
리턴 IEnumerable

HexBufferLine() 보호된 메소드

Constructor
protected HexBufferLine ( ) : System
리턴 System

IsColumnPresent() 공개 메소드

Returns true if a column is present
public IsColumnPresent ( HexColumnType column ) : bool
column HexColumnType Column
리턴 bool

ToString() 공개 메소드

Returns Text
public ToString ( ) : string
리턴 string