C# Class dnSpy.Contracts.Hex.Formatting.HexHtmlBuilderService

Creates HTML strings
Show file Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexBufferLineFormatter bufferLines, CancellationToken cancellationToken ) : string

Creates an HTML fragment that can be copied to the clipboard

GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexBufferLineFormatter bufferLines, string delimiter, CancellationToken cancellationToken ) : string

Creates an HTML fragment that can be copied to the clipboard

GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexView hexView, CancellationToken cancellationToken ) : string

Creates an HTML fragment that can be copied to the clipboard

GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexView hexView, string delimiter, CancellationToken cancellationToken ) : string

Creates an HTML fragment that can be copied to the clipboard

Protected Methods

Method Description
HexHtmlBuilderService ( ) : System.Threading

Constructor

Method Details

GenerateHtmlFragment() public method

Creates an HTML fragment that can be copied to the clipboard
public GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexBufferLineFormatter bufferLines, CancellationToken cancellationToken ) : string
spans NormalizedHexBufferSpanCollection Spans
bufferLines HexBufferLineFormatter Buffer lines provider
cancellationToken System.Threading.CancellationToken Cancellation token
return string

GenerateHtmlFragment() public abstract method

Creates an HTML fragment that can be copied to the clipboard
public abstract GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexBufferLineFormatter bufferLines, string delimiter, CancellationToken cancellationToken ) : string
spans NormalizedHexBufferSpanCollection Spans
bufferLines HexBufferLineFormatter Buffer lines provider
delimiter string Delimiter added between generated html strings
cancellationToken System.Threading.CancellationToken
return string

GenerateHtmlFragment() public method

Creates an HTML fragment that can be copied to the clipboard
public GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexView hexView, CancellationToken cancellationToken ) : string
spans NormalizedHexBufferSpanCollection Spans
hexView dnSpy.Contracts.Hex.Editor.HexView Hex view
cancellationToken System.Threading.CancellationToken Cancellation token
return string

GenerateHtmlFragment() public abstract method

Creates an HTML fragment that can be copied to the clipboard
public abstract GenerateHtmlFragment ( NormalizedHexBufferSpanCollection spans, HexView hexView, string delimiter, CancellationToken cancellationToken ) : string
spans NormalizedHexBufferSpanCollection Spans
hexView dnSpy.Contracts.Hex.Editor.HexView Hex view
delimiter string Delimiter added between generated html strings
cancellationToken System.Threading.CancellationToken Cancellation token
return string

HexHtmlBuilderService() protected method

Constructor
protected HexHtmlBuilderService ( ) : System.Threading
return System.Threading