Delegate CodeMatcher.ErrorHandler
Delegate for error handling
Assembly: 0Harmony.dll
Syntax
public delegate bool CodeMatcher.ErrorHandler(CodeMatcher matcher, string error)
Parameters
Type |
Name |
Description |
CodeMatcher |
matcher |
The current code matcher
|
string |
error |
The error message
|
Returns
Type |
Description |
bool |
True if the error should be suppressed and the matcher should continue (if possible)
|
Constructors
ErrorHandler(object, IntPtr)
Declaration
public ErrorHandler(object @object, IntPtr method)
Parameters
Type |
Name |
Description |
object |
object |
|
IntPtr |
method |
|
Methods
BeginInvoke(CodeMatcher, string, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(CodeMatcher matcher, string error, AsyncCallback callback, object @object)
Parameters
Type |
Name |
Description |
CodeMatcher |
matcher |
|
string |
error |
|
AsyncCallback |
callback |
|
object |
object |
|
Returns
Type |
Description |
IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual bool EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
IAsyncResult |
result |
|
Returns
Invoke(CodeMatcher, string)
Declaration
public virtual bool Invoke(CodeMatcher matcher, string error)
Parameters
Returns