C# Class Microsoft.Scripting.Actions.MethodGroup

MethodGroup's represent a unique collection of method's. Typically this unique set is all the methods which are overloaded by the same name including methods with different arity. These methods represent a single logically overloaded element of a .NET type. The base DLR binders will produce MethodGroup's when provided with a MemberGroup which contains only methods. The MethodGroup's will be unique instances per each unique group of methods.
Inheritance: MemberTracker
ファイルを表示 Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
BindToInstance ( DynamicMetaObject instance ) : MemberTracker
GetMethodBases ( ) : System.Reflection.MethodBase[]
GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type ) : DynamicMetaObject
MakeGenericMethod ( Type types ) : MethodGroup

Returns a BuiltinFunction bound to the provided type arguments. Returns null if the binding cannot be performed.

Protected Methods

Method Description
GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type, DynamicMetaObject instance ) : DynamicMetaObject

Private Methods

Method Description
EnsureBoundGenericDict ( ) : void
MethodGroup ( ) : System

Method Details

BindToInstance() public method

public BindToInstance ( DynamicMetaObject instance ) : MemberTracker
instance System.Dynamic.DynamicMetaObject
return MemberTracker

GetBoundValue() protected method

protected GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type, DynamicMetaObject instance ) : DynamicMetaObject
resolverFactory Microsoft.Scripting.Actions.Calls.OverloadResolverFactory
binder ActionBinder
type System.Type
instance System.Dynamic.DynamicMetaObject
return System.Dynamic.DynamicMetaObject

GetMethodBases() public method

public GetMethodBases ( ) : System.Reflection.MethodBase[]
return System.Reflection.MethodBase[]

GetValue() public method

public GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type ) : DynamicMetaObject
resolverFactory Microsoft.Scripting.Actions.Calls.OverloadResolverFactory
binder ActionBinder
type System.Type
return System.Dynamic.DynamicMetaObject

MakeGenericMethod() public method

Returns a BuiltinFunction bound to the provided type arguments. Returns null if the binding cannot be performed.
public MakeGenericMethod ( Type types ) : MethodGroup
types System.Type
return MethodGroup