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

Creates IHexMarginContextMenuHandlers or returns null. You must ExportAttribute this interface and add a HexMarginNameAttribute with the name of the margin (eg. PredefinedHexMarginNames.Glyph). Optional attribute: VSTE.TextViewRoleAttribute.
Mostra file Open project: 0xd4d/dnSpy

Public Methods

Method Description
Create ( WpfHexViewHost wpfHexViewHost, dnSpy.Contracts.Hex.Editor.WpfHexViewMargin margin ) : IHexMarginContextMenuHandler

Creates IHexMarginContextMenuHandlers or returns null

Protected Methods

Method Description
HexMarginContextMenuHandlerProvider ( ) : System.Collections.Generic

Constructor

Method Details

Create() public abstract method

Creates IHexMarginContextMenuHandlers or returns null
public abstract Create ( WpfHexViewHost wpfHexViewHost, dnSpy.Contracts.Hex.Editor.WpfHexViewMargin margin ) : IHexMarginContextMenuHandler
wpfHexViewHost WpfHexViewHost Hex view host
margin dnSpy.Contracts.Hex.Editor.WpfHexViewMargin Margin
return IHexMarginContextMenuHandler

HexMarginContextMenuHandlerProvider() protected method

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