Class InvokerBase
Inheritance
object
InvokerBase
Assembly: solution.dll
Syntax
public abstract class InvokerBase : IOptimizedInvoker
Constructors
InvokerBase(MethodInfo)
Declaration
protected InvokerBase(MethodInfo methodInfo)
Parameters
| Type |
Name |
Description |
| MethodInfo |
methodInfo |
|
Fields
methodInfo
Declaration
protected readonly MethodInfo methodInfo
Field Value
| Type |
Description |
| MethodInfo |
|
targetType
Declaration
protected readonly Type targetType
Field Value
Methods
Compile()
Declaration
CompileExpression()
Declaration
protected abstract void CompileExpression()
CreateDelegate()
Declaration
protected abstract void CreateDelegate()
GetParameterExpressions()
Declaration
protected ParameterExpression[] GetParameterExpressions()
Returns
| Type |
Description |
| ParameterExpression[] |
|
GetParameterTypes()
Declaration
protected abstract Type[] GetParameterTypes()
Returns
Invoke(object)
Declaration
public virtual object Invoke(object target)
Parameters
| Type |
Name |
Description |
| object |
target |
|
Returns
Invoke(object, object)
Declaration
public virtual object Invoke(object target, object arg0)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object |
arg0 |
|
Returns
Invoke(object, object, object)
Declaration
public virtual object Invoke(object target, object arg0, object arg1)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object |
arg0 |
|
| object |
arg1 |
|
Returns
Invoke(object, object, object, object)
Declaration
public virtual object Invoke(object target, object arg0, object arg1, object arg2)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object |
arg0 |
|
| object |
arg1 |
|
| object |
arg2 |
|
Returns
Invoke(object, object, object, object, object)
Declaration
public virtual object Invoke(object target, object arg0, object arg1, object arg2, object arg3)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object |
arg0 |
|
| object |
arg1 |
|
| object |
arg2 |
|
| object |
arg3 |
|
Returns
Invoke(object, object, object, object, object, object)
Declaration
public virtual object Invoke(object target, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object |
arg0 |
|
| object |
arg1 |
|
| object |
arg2 |
|
| object |
arg3 |
|
| object |
arg4 |
|
Returns
Invoke(object, params object[])
Declaration
public abstract object Invoke(object target, params object[] args)
Parameters
| Type |
Name |
Description |
| object |
target |
|
| object[] |
args |
|
Returns
VerifyArgument<TParam>(MethodInfo, int, object)
Declaration
protected void VerifyArgument<TParam>(MethodInfo methodInfo, int argIndex, object arg)
Parameters
| Type |
Name |
Description |
| MethodInfo |
methodInfo |
|
| int |
argIndex |
|
| object |
arg |
|
Type Parameters
VerifyTarget(object)
Declaration
protected abstract void VerifyTarget(object target)
Parameters
| Type |
Name |
Description |
| object |
target |
|
Implements
Extension Methods