Class MethodInvoker
public class MethodInvoker
- Inheritance
-
MethodInvoker
- Inherited Members
Properties
Arguments
public object[] Arguments { get; }
Property Value
- object[]
IsPrepared
public bool IsPrepared { get; }
Property Value
MethodObject
public MethodInfo MethodObject { get; set; }
Property Value
StaticMethod
public string StaticMethod { get; set; }
Property Value
TargetClass
public Type TargetClass { get; set; }
Property Value
TargetMethod
public string TargetMethod { get; set; }
Property Value
TargetObject
public object TargetObject { get; }
Property Value
Methods
FindMatchingMethod()
protected virtual MethodInfo FindMatchingMethod()
Returns
GetPreparedMethod()
public MethodInfo GetPreparedMethod()
Returns
GetTypeDifferenceWeight(Type[], object[])
public static int GetTypeDifferenceWeight(Type[] paramTypes, object[] args)
Parameters
Returns
Invoke()
public object Invoke()
Returns
Prepare()
public virtual void Prepare()
ResolveClassName(string)
protected virtual Type ResolveClassName(string className)
Parameters
className
string
Returns
SetArguments(params object[])
public virtual void SetArguments(params object[] arguments)
Parameters
arguments
object[]
SetTargetObject(object)
public virtual void SetTargetObject(object target)
Parameters
target
object