Class Hook<T>
Inheritance
System.Object
Hook<T>
Implements
System.IDisposable
Assembly: MonoMod.RuntimeDetour.dll
Syntax
public class Hook<T> : Hook, IDetour, IDisposable
Type Parameters
Constructors
Hook(T, T)
Declaration
public Hook(T from, T to)
Parameters
Type |
Name |
Description |
T |
from |
|
T |
to |
|
Hook(T, T, HookConfig)
Declaration
public Hook(T from, T to, HookConfig config)
Parameters
Type |
Name |
Description |
T |
from |
|
T |
to |
|
HookConfig |
config |
|
Hook(T, T, ref HookConfig)
Declaration
public Hook(T from, T to, ref HookConfig config)
Parameters
Type |
Name |
Description |
T |
from |
|
T |
to |
|
HookConfig |
config |
|
Hook(T, IntPtr)
Declaration
public Hook(T from, IntPtr to)
Parameters
Type |
Name |
Description |
T |
from |
|
System.IntPtr |
to |
|
Hook(T, IntPtr, HookConfig)
Declaration
public Hook(T from, IntPtr to, HookConfig config)
Parameters
Type |
Name |
Description |
T |
from |
|
System.IntPtr |
to |
|
HookConfig |
config |
|
Hook(T, IntPtr, ref HookConfig)
Declaration
public Hook(T from, IntPtr to, ref HookConfig config)
Parameters
Type |
Name |
Description |
T |
from |
|
System.IntPtr |
to |
|
HookConfig |
config |
|
Hook(Expression<Action>, T)
Declaration
public Hook(Expression<Action> from, T to)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Action> |
from |
|
T |
to |
|
Hook(Expression<Action>, T, HookConfig)
Declaration
public Hook(Expression<Action> from, T to, HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Action> |
from |
|
T |
to |
|
HookConfig |
config |
|
Hook(Expression<Action>, T, ref HookConfig)
Declaration
public Hook(Expression<Action> from, T to, ref HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Action> |
from |
|
T |
to |
|
HookConfig |
config |
|
Hook(Expression<Func<T>>, Delegate)
Declaration
public Hook(Expression<Func<T>> from, Delegate to)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.Delegate |
to |
|
Hook(Expression<Func<T>>, Delegate, HookConfig)
Declaration
public Hook(Expression<Func<T>> from, Delegate to, HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.Delegate |
to |
|
HookConfig |
config |
|
Hook(Expression<Func<T>>, Delegate, ref HookConfig)
Declaration
public Hook(Expression<Func<T>> from, Delegate to, ref HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.Delegate |
to |
|
HookConfig |
config |
|
Hook(Expression<Func<T>>, IntPtr)
Declaration
public Hook(Expression<Func<T>> from, IntPtr to)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.IntPtr |
to |
|
Hook(Expression<Func<T>>, IntPtr, HookConfig)
Declaration
public Hook(Expression<Func<T>> from, IntPtr to, HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.IntPtr |
to |
|
HookConfig |
config |
|
Hook(Expression<Func<T>>, IntPtr, ref HookConfig)
Declaration
public Hook(Expression<Func<T>> from, IntPtr to, ref HookConfig config)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<T>> |
from |
|
System.IntPtr |
to |
|
HookConfig |
config |
|
Implements
System.IDisposable