C# Класс 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.
Наследование: MemberTracker
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetBoundValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type, DynamicMetaObject instance ) : DynamicMetaObject

Приватные методы

Метод Описание
EnsureBoundGenericDict ( ) : void
MethodGroup ( ) : System

Описание методов

BindToInstance() публичный Метод

public BindToInstance ( DynamicMetaObject instance ) : MemberTracker
instance System.Dynamic.DynamicMetaObject
Результат MemberTracker

GetBoundValue() защищенный Метод

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
Результат System.Dynamic.DynamicMetaObject

GetMethodBases() публичный Метод

public GetMethodBases ( ) : System.Reflection.MethodBase[]
Результат System.Reflection.MethodBase[]

GetValue() публичный Метод

public GetValue ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, ActionBinder binder, Type type ) : DynamicMetaObject
resolverFactory Microsoft.Scripting.Actions.Calls.OverloadResolverFactory
binder ActionBinder
type System.Type
Результат System.Dynamic.DynamicMetaObject

MakeGenericMethod() публичный Метод

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
Результат MethodGroup