C# Class Microsoft.Scripting.Runtime.ReflectionCache

Provides a cache of reflection members. Only one set of values is ever handed out per a specific request.
Mostrar archivo Open project: jschementi/iron

Public Methods

Method Description
GetMethodGroup ( Type type, string name ) : MethodGroup
GetMethodGroup ( Type type, string name, BindingFlags bindingFlags, MemberFilter filter ) : MethodGroup

Gets a singleton method group from the provided type. The provided method group will be unique based upon the methods defined, not based upon the type/name combination. In other words calling GetMethodGroup on a base type and a derived type that introduces no new methods under a given name will result in the same method group for both types.

GetMethodGroup ( string name, MemberGroup mems ) : MethodGroup
GetMethodGroup ( string name, MethodBase methods ) : MethodGroup
GetTypeTracker ( Type type ) : TypeTracker

Method Details

GetMethodGroup() public static method

public static GetMethodGroup ( Type type, string name ) : MethodGroup
type System.Type
name string
return Microsoft.Scripting.Actions.MethodGroup

GetMethodGroup() public static method

Gets a singleton method group from the provided type. The provided method group will be unique based upon the methods defined, not based upon the type/name combination. In other words calling GetMethodGroup on a base type and a derived type that introduces no new methods under a given name will result in the same method group for both types.
public static GetMethodGroup ( Type type, string name, BindingFlags bindingFlags, MemberFilter filter ) : MethodGroup
type System.Type
name string
bindingFlags BindingFlags
filter MemberFilter
return Microsoft.Scripting.Actions.MethodGroup

GetMethodGroup() public static method

public static GetMethodGroup ( string name, MemberGroup mems ) : MethodGroup
name string
mems MemberGroup
return Microsoft.Scripting.Actions.MethodGroup

GetMethodGroup() public static method

public static GetMethodGroup ( string name, MethodBase methods ) : MethodGroup
name string
methods System.Reflection.MethodBase
return Microsoft.Scripting.Actions.MethodGroup

GetTypeTracker() public static method

public static GetTypeTracker ( Type type ) : TypeTracker
type System.Type
return Microsoft.Scripting.Actions.TypeTracker