C# Class Boo.Lang.Runtime.MethodResolver

Afficher le fichier Open project: boo/boo-lang Class Usage Examples

Méthodes publiques

Méthode Description
GetArgumentTypes ( object arguments ) : System.Type[]
MethodResolver ( ) : System
ResolveMethod ( IEnumerable candidates ) : CandidateMethod

Private Methods

Méthode Description
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

Method Details

GetArgumentTypes() public static méthode

public static GetArgumentTypes ( object arguments ) : System.Type[]
arguments object
Résultat System.Type[]

MethodResolver() public méthode

public MethodResolver ( ) : System
Résultat System

ResolveMethod() public méthode

public ResolveMethod ( IEnumerable candidates ) : CandidateMethod
candidates IEnumerable
Résultat CandidateMethod