C# Class ICSharpCode.ILSpy.TreeNodes.ILSpyTreeNode

Base class of all ILSpy tree nodes.
Inheritance: ICSharpCode.TreeView.SharpTreeNode
Datei anzeigen Open project: HearthSim/extract-scripts Class Usage Examples

Public Properties

Property Type Description
Children List

Public Methods

Method Description
Decompile ( System.Language language, ITextOutput output, DecompilationOptions options ) : void
Save ( TextView textView ) : bool

Used to implement special save logic for some items. This method is called on the main thread when only a single item is selected. If it returns false, normal decompilation is used to save the item.

View ( TextView textView ) : bool

Used to implement special view logic for some items. This method is called on the main thread when only a single item is selected. If it returns false, normal decompilation is used to view the item.

Protected Methods

Method Description
HighlightSearchMatch ( string text, string suffix = null ) : object
LoadChildren ( ) : void

Method Details

Decompile() public abstract method

public abstract Decompile ( System.Language language, ITextOutput output, DecompilationOptions options ) : void
language System.Language
output ITextOutput
options DecompilationOptions
return void

HighlightSearchMatch() protected static method

protected static HighlightSearchMatch ( string text, string suffix = null ) : object
text string
suffix string
return object

LoadChildren() protected method

protected LoadChildren ( ) : void
return void

Save() public method

Used to implement special save logic for some items. This method is called on the main thread when only a single item is selected. If it returns false, normal decompilation is used to save the item.
public Save ( TextView textView ) : bool
textView TextView
return bool

View() public method

Used to implement special view logic for some items. This method is called on the main thread when only a single item is selected. If it returns false, normal decompilation is used to view the item.
public View ( TextView textView ) : bool
textView TextView
return bool

Property Details

Children public_oe property

public List Children
return List