C# Class dnSpy.Contracts.Hex.Editor.HexStructureInfoProvider

Structure info provider
Mostra file Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
GetFields ( HexPosition position ) : IEnumerable

Gets all related fields. It's enough to return the span of the current field at position and the span of the full structure that contains the field.

GetReference ( HexPosition position ) : object

Gets a reference or null. The reference can be used to look up a high level representation of the data, eg. the C# statement in decompiled code.

GetToolTip ( HexPosition position ) : object

Gets a tooltip or null

Protected Methods

Method Description
HexStructureInfoProvider ( ) : System.Collections.Generic

Constructor

Method Details

GetFields() public abstract method

Gets all related fields. It's enough to return the span of the current field at position and the span of the full structure that contains the field.
public abstract GetFields ( HexPosition position ) : IEnumerable
position HexPosition Position
return IEnumerable

GetReference() public abstract method

Gets a reference or null. The reference can be used to look up a high level representation of the data, eg. the C# statement in decompiled code.
public abstract GetReference ( HexPosition position ) : object
position HexPosition Position
return object

GetToolTip() public abstract method

Gets a tooltip or null
public abstract GetToolTip ( HexPosition position ) : object
position HexPosition Position
return object

HexStructureInfoProvider() protected method

Constructor
protected HexStructureInfoProvider ( ) : System.Collections.Generic
return System.Collections.Generic