Class MethodInvoker
Inheritance
System.Object
MethodInvoker
Assembly: Steeltoe.Common.dll
Syntax
public class MethodInvoker : object
Properties
|
Edit this page
View Source
Arguments
Declaration
public object[] Arguments { get; }
Property Value
Type |
Description |
System.Object[] |
|
|
Edit this page
View Source
IsPrepared
Declaration
public bool IsPrepared { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
MethodObject
Declaration
public MethodInfo MethodObject { get; set; }
Property Value
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
StaticMethod
Declaration
public string StaticMethod { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
TargetClass
Declaration
public Type TargetClass { get; set; }
Property Value
|
Edit this page
View Source
TargetMethod
Declaration
public string TargetMethod { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
TargetObject
Declaration
public object TargetObject { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
|
Edit this page
View Source
FindMatchingMethod()
Declaration
protected virtual MethodInfo FindMatchingMethod()
Returns
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
GetPreparedMethod()
Declaration
public MethodInfo GetPreparedMethod()
Returns
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
GetTypeDifferenceWeight(Type[], Object[])
Declaration
public static int GetTypeDifferenceWeight(Type[] paramTypes, object[] args)
Parameters
Type |
Name |
Description |
Type[] |
paramTypes |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Invoke()
Declaration
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Prepare()
Declaration
public virtual void Prepare()
|
Edit this page
View Source
ResolveClassName(String)
Declaration
protected virtual Type ResolveClassName(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
Returns
|
Edit this page
View Source
SetArguments(Object[])
Declaration
public virtual void SetArguments(params object[] arguments)
Parameters
Type |
Name |
Description |
System.Object[] |
arguments |
|
|
Edit this page
View Source
SetTargetObject(Object)
Declaration
public virtual void SetTargetObject(object target)
Parameters
Type |
Name |
Description |
System.Object |
target |
|