Class ReflectiveMethodResolver
Inheritance
System.Object
ReflectiveMethodResolver
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class ReflectiveMethodResolver : IMethodResolver
Constructors
|
Edit this page
View Source
ReflectiveMethodResolver()
Declaration
public ReflectiveMethodResolver()
|
Edit this page
View Source
ReflectiveMethodResolver(Boolean)
Declaration
public ReflectiveMethodResolver(bool useDistance)
Parameters
Type |
Name |
Description |
System.Boolean |
useDistance |
|
Methods
|
Edit this page
View Source
GetMethods(Type)
Declaration
protected virtual MethodInfo[] GetMethods(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
MethodInfo[] |
|
|
Edit this page
View Source
IsCandidateForInvocation(MethodInfo, Type)
Declaration
protected virtual bool IsCandidateForInvocation(MethodInfo method, Type targetClass)
Parameters
Type |
Name |
Description |
MethodInfo |
method |
|
Type |
targetClass |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RegisterMethodFilter(Type, IMethodFilter)
Declaration
public virtual void RegisterMethodFilter(Type type, IMethodFilter filter)
Parameters
Type |
Name |
Description |
Type |
type |
|
IMethodFilter |
filter |
|
|
Edit this page
View Source
Resolve(IEvaluationContext, Object, String, List<Type>)
Declaration
public virtual IMethodExecutor Resolve(IEvaluationContext context, object targetObject, string name, List<Type> argumentTypes)
Parameters
Type |
Name |
Description |
IEvaluationContext |
context |
|
System.Object |
targetObject |
|
System.String |
name |
|
List<Type> |
argumentTypes |
|
Returns
Type |
Description |
IMethodExecutor |
|