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