C# Class IronPython.Runtime.Types.TypeInfo.MemberBinder

Base class used for resolving a name into a member on the type.
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
GetBaseInstanceMethod ( Type type ) : MemberGroup

Gets an instance op method for the given type and name. Instance ops methods appaer on the base most class that's required to expose it. So if we have: Array[int], Array, object we'd only add an instance op method to Array and Array[int] inherits it. It's obviously not on object because if it was there we'd just put the method in ObjectOps. Therefore the different binders expose this at the appropriate times.

GetContributingTypes ( Type t ) : IList
GetInterfaces ( Type t ) : IList
GetMember ( Type type, string name ) : MemberGroup
MemberBinder ( PythonBinder binder ) : System

Méthodes protégées

Méthode Description
GetMember ( Type type, string name, BindingFlags flags ) : MemberGroup

Method Details

GetBaseInstanceMethod() public abstract méthode

Gets an instance op method for the given type and name. Instance ops methods appaer on the base most class that's required to expose it. So if we have: Array[int], Array, object we'd only add an instance op method to Array and Array[int] inherits it. It's obviously not on object because if it was there we'd just put the method in ObjectOps. Therefore the different binders expose this at the appropriate times.
public abstract GetBaseInstanceMethod ( Type type ) : MemberGroup
type System.Type
Résultat MemberGroup

GetContributingTypes() public abstract méthode

public abstract GetContributingTypes ( Type t ) : IList
t System.Type
Résultat IList

GetInterfaces() public abstract méthode

public abstract GetInterfaces ( Type t ) : IList
t System.Type
Résultat IList

GetMember() public abstract méthode

public abstract GetMember ( Type type, string name ) : MemberGroup
type System.Type
name string
Résultat MemberGroup

GetMember() protected méthode

protected GetMember ( Type type, string name, BindingFlags flags ) : MemberGroup
type System.Type
name string
flags BindingFlags
Résultat MemberGroup

MemberBinder() public méthode

public MemberBinder ( PythonBinder binder ) : System
binder IronPython.Runtime.Binding.PythonBinder
Résultat System