C# Class Hawkeye.DecompilePlugin.BaseDecompilerController

Allows an external program to remotely control a decompiler (Reflector or ILSpy). This class is adapted from RemoteController.cs found in .NET Reflector addins project (http://www.codeplex.com/reflectoraddins)
ILSpy supports a way of being remotely controlled very similar to Reflector's See https://github.com/icsharpcode/ILSpy/blob/master/doc/Command%20Line.txt.
Inheritance: IDecompilerController
Mostra file Open project: odalet/Hawkeye2

Public Methods

Method Description
BaseDecompilerController ( ) : System
GotoType ( Type type ) : bool

Loads the type's assembly then selects the specified type declaration in the decompiler;

Protected Methods

Method Description
DoesWindowTitleMatches ( string title ) : bool

Determines wether the specified window title matches the actual decompiler.

Send ( string message ) : bool

Private Methods

Method Description
EnumWindow ( IntPtr handle, int lparam ) : bool
EnumWindows ( EnumWindowsCallback callback, int lparam ) : int
GetWindowText ( IntPtr hWnd, StringBuilder title, int size ) : int
SendMessage ( IntPtr hWnd, int Msg, IntPtr wParam, CopyDataStruct &lParam ) : bool

Method Details

BaseDecompilerController() public method

public BaseDecompilerController ( ) : System
return System

DoesWindowTitleMatches() protected abstract method

Determines wether the specified window title matches the actual decompiler.
protected abstract DoesWindowTitleMatches ( string title ) : bool
title string The window title.
return bool

GotoType() public abstract method

Loads the type's assembly then selects the specified type declaration in the decompiler;
public abstract GotoType ( Type type ) : bool
type System.Type The type to decompile.
return bool

Send() protected method

protected Send ( string message ) : bool
message string
return bool