C# 클래스 Boo.Lang.Runtime.MethodResolver

파일 보기 프로젝트 열기: boo/boo-lang 1 사용 예제들

공개 메소드들

메소드 설명
GetArgumentTypes ( object arguments ) : System.Type[]
MethodResolver ( ) : System
ResolveMethod ( IEnumerable candidates ) : CandidateMethod

비공개 메소드들

메소드 설명
BestMethod ( List applicable ) : CandidateMethod
BetterCandidate ( CandidateMethod c1, CandidateMethod c2 ) : int
CalculateCandidateArgumentScore ( CandidateMethod candidateMethod, int argumentIndex, Type paramType ) : bool
CalculateCandidateScore ( CandidateMethod candidateMethod ) : bool
DoesNotRequireConversions ( CandidateMethod candidate ) : bool
FindApplicableMethods ( IEnumerable candidates ) : List
GetClassDepth ( Type type ) : int
GetInterfaceDepth ( Type type ) : int
GetLogicalTypeDepth ( Type type ) : int
GetObjectTypeOrNull ( object arg ) : Type
GetTypeDepth ( Type type ) : int
GetTypeGenerity ( Type type ) : int
HasParamArrayAttribute ( ParameterInfo info ) : bool
IsApplicableMethod ( MethodInfo method ) : CandidateMethod
IsVarArgs ( ParameterInfo parameters ) : bool
MoreSpecificType ( Type t1, Type t2 ) : int
TotalScore ( CandidateMethod c1 ) : int
ValidArgumentCount ( ParameterInfo parameters, bool varargs ) : bool

메소드 상세

GetArgumentTypes() 공개 정적인 메소드

public static GetArgumentTypes ( object arguments ) : System.Type[]
arguments object
리턴 System.Type[]

MethodResolver() 공개 메소드

public MethodResolver ( ) : System
리턴 System

ResolveMethod() 공개 메소드

public ResolveMethod ( IEnumerable candidates ) : CandidateMethod
candidates IEnumerable
리턴 CandidateMethod