Метод | Описание | |
---|---|---|
Call ( CallSignature signature, |
Provides default binding for performing a call on the specified meta objects.
|
|
Call ( CallSignature signature, |
Provides default binding for performing a call on the specified meta objects.
|
|
Call ( CallSignature signature, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Provides default binding for performing a call on the specified meta objects.
|
|
CallMethod ( |
Performs binding against a set of overloaded methods using the specified arguments. The arguments are consumed as specified by the CallSignature object.
|
|
CallMethod ( |
Performs binding against a set of overloaded methods using the specified arguments. The arguments are consumed as specified by the CallSignature object.
|
|
CallMethod ( |
Performs binding against a set of overloaded methods using the specified arguments. The arguments are consumed as specified by the CallSignature object.
|
|
CallMethod ( |
Performs binding against a set of overloaded methods using the specified arguments. The arguments are consumed as specified by the CallSignature object.
|
|
CallMethod ( |
Performs binding against a set of overloaded methods using the specified arguments. The arguments are consumed as specified by the CallSignature object.
|
|
CanConvertFrom ( |
||
DefaultBinder ( ) : System.Linq.Expressions | ||
DoOperation ( ExpressionType operation ) : |
||
DoOperation ( ExpressionType operation, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory ) : |
||
GetCallSignatures ( |
||
GetDocumentation ( |
||
GetIndex ( |
||
GetIndex ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Creates the MetaObject for indexing directly into arrays or indexing into objects which have default members. Returns null if we're not an indexing operation.
|
|
GetIsCallable ( |
||
GetMember ( string name, |
Builds a MetaObject for performing a member get. Supports all built-in .NET members, the OperatorMethod GetBoundMember, and StrongBox instances.
|
|
GetMember ( string name, |
Builds a MetaObject for performing a member get. Supports all built-in .NET members, the OperatorMethod GetBoundMember, and StrongBox instances.
|
|
GetMember ( string name, |
Builds a MetaObject for performing a member get. Supports all built-in .NET members, the OperatorMethod GetBoundMember, and StrongBox instances.
|
|
GetMember ( string name, |
Builds a MetaObject for performing a member get. Supports all built-in .NET members, the OperatorMethod GetBoundMember, and StrongBox instances.
|
|
GetMemberNames ( |
||
GetMemberType ( MemberGroup members, Expression &error ) : TrackerTypes | ||
GetMethod ( |
||
MakeError ( |
||
MakeError ( |
||
MakeEventValidation ( MemberGroup members, |
||
MakeNonPublicMemberGetError ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Called when the user is accessing a protected or private member on a get. The default implementation allows access to the fields or properties using reflection.
|
|
MakeReadOnlyMemberError ( |
Provides a way for the binder to provide a custom error message when lookup fails. Just doing this for the time being until we get a more robust error return mechanism.
|
|
MakeUndeletableMemberError ( Type type, string name ) : ErrorInfo |
Provides a way for the binder to provide a custom error message when lookup fails. Just doing this for the time being until we get a more robust error return mechanism.
|
|
PreferConvert ( Type t1, Type t2 ) : Candidate | ||
SetIndex ( DynamicMetaObject args ) : DynamicMetaObject | ||
SetIndex ( OverloadResolverFactory resolverFactory, DynamicMetaObject args ) : DynamicMetaObject |
Creates the MetaObject for indexing directly into arrays or indexing into objects which have default members. Returns null if we're not an indexing operation.
|
Метод | Описание | |
---|---|---|
AmbiguousMatch ( |
||
ConvertIfNeeded ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory factory, Expression expression, |
||
DoOperation ( string operation ) : |
||
DoOperation ( string operation, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory ) : |
||
EnsureTrackerRepresentsNonGenericType ( |
||
FilterNonMethods ( |
||
GetApplicableMembers ( |
||
GetArgType ( |
||
GetInvertedOperator ( ExpressionType op ) : ExpressionType | ||
GetMethodsFromDefaults ( |
||
GetSpecialNameMethod ( |
||
GetTargetInfo ( |
Gets a TargetInfo object for performing a call on this object. If this object is a delegate we bind to the Invoke method. If this object is a MemberGroup or MethodGroup we bind to the methods in the member group. If this object is a BoundMemberTracker we bind to the methods with the bound instance. If the underlying type has defined an operator Call method we'll bind to that method.
|
|
GetTargetName ( IList |
||
IsTrackerApplicableForType ( |
||
MakeAmbiguousMatchError ( MemberGroup members ) : Expression | ||
MakeArrayIndexRule ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory factory, IndexType oper, |
||
MakeBodyHelper ( GetMemberInfo getMemInfo, |
||
MakeCallSignatureResult ( |
||
MakeCannotCallRule ( |
||
MakeComparisonRule ( |
||
MakeGeneralOperatorRule ( ExpressionType operation, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Creates the meta object for the rest of the operations: comparisons and all other ExpressionType. If the operation cannot be completed a MetaObject which indicates an error will be returned.
|
|
MakeGeneralOperatorRule ( string operation, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
Creates the meta object for the rest of the operations: comparisons and all other ExpressionType. If the operation cannot be completed a MetaObject which indicates an error will be returned.
|
|
MakeGeneratorOperatorRule ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
MakeGenericBody ( GetMemberInfo getMemInfo, |
||
MakeGenericBodyWorker ( GetMemberInfo getMemInfo, |
||
MakeGetMemberTarget ( GetMemberInfo getMemInfo, |
||
MakeInvalidParametersRule ( |
||
MakeMetaMethodCall ( CallSignature signature, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, TargetInfo targetInfo ) : |
||
MakeMethodIndexRule ( IndexType oper, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
MakeMissingMemberRuleForGet ( GetMemberInfo getMemInfo, |
||
MakeOperationFailed ( ) : MemberExpression | ||
MakeOperatorError ( |
||
MakeOperatorGetMemberBody ( GetMemberInfo getMemInfo, |
if a member-injector is defined-on or registered-for this type call it
|
|
MakeOperatorRule ( |
||
MakeParamsArrayTest ( CallTypes callType, CallSignature signature, bool testTypes, IList |
Pulls out the right argument to build the splat test. MakeParamsTest makes the actual test.
|
|
MakeParamsDictionaryTest ( IList |
Builds the restrictions for calling with keyword arguments. The restrictions include tests on the individual keys of the dictionary to ensure they have the same names.
|
|
MakeParamsTest ( |
Builds the restrictions for calling with a splatted argument array. Ensures that the argument is still an ICollection of object and that it has the same number of arguments.
|
|
MakeSplatTests ( CallTypes callType, CallSignature signature, IList |
||
MakeSplatTests ( CallTypes callType, CallSignature signature, bool testTypes, IList |
Makes test for param arrays and param dictionary parameters.
|
|
MakeSuccessfulMemberAccess ( GetMemberInfo getMemInfo, DynamicMetaObject self, DynamicMetaObject propSelf, Type type, MemberGroup members, TrackerTypes memberType ) : void | ||
MakeTypeBody ( GetMemberInfo getMemInfo, Type type, MemberGroup members ) : void | ||
TryComparisonMethod ( OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject | ||
TryForwardOperator ( OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject args ) : DynamicMetaObject | ||
TryGetBoundMemberTargets ( DynamicMetaObject self, DynamicMetaObject args, BoundMemberTracker bmt ) : TargetInfo |
Binds to the BoundMemberTracker and uses the instance in the tracker and restricts based upon the object instance type.
|
|
TryGetDelegateTargets ( DynamicMetaObject target, DynamicMetaObject args, Delegate d ) : TargetInfo |
Binds to the Invoke method on a delegate if this is a delegate type.
|
|
TryGetMemberGroupTargets ( DynamicMetaObject target, DynamicMetaObject args, MemberGroup mg ) : TargetInfo |
Binds to the methods in a member group. TODO: We should really only have either MemberGroup or MethodGroup, not both.
|
|
TryGetMethodGroupTargets ( DynamicMetaObject target, DynamicMetaObject args, MethodGroup mthgrp ) : TargetInfo |
Binds to the methods in a method group.
|
|
TryGetOperatorTargets ( DynamicMetaObject self, DynamicMetaObject args, object target ) : TargetInfo |
Attempts to bind to an operator Call method.
|
|
TryInvertedComparison ( OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject | ||
TryMakeBindingTarget ( OverloadResolverFactory resolverFactory, MethodInfo targets, DynamicMetaObject args, BindingRestrictions restrictions ) : DynamicMetaObject | ||
TryMakeDefaultUnaryRule ( OperatorInfo info, DynamicMetaObject args ) : DynamicMetaObject | ||
TryMakeInvertedBindingTarget ( OverloadResolverFactory resolverFactory, MethodBase targets, DynamicMetaObject args ) : DynamicMetaObject | ||
TryNullComparisonRule ( DynamicMetaObject args ) : DynamicMetaObject |
Produces a rule for comparing a value to null - supports comparing object references and nullable types.
|
|
TryNumericComparison ( OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject args ) : DynamicMetaObject | ||
TryPrimitiveCompare ( OperatorInfo info, DynamicMetaObject args ) : DynamicMetaObject | ||
TryPrimitiveOperator ( OperatorInfo info, DynamicMetaObject args ) : DynamicMetaObject | ||
TryReverseOperator ( OperatorInfo info, OverloadResolverFactory resolverFactory, DynamicMetaObject args ) : DynamicMetaObject |
public Call ( CallSignature signature, |
||
signature | CallSignature | The signature describing the call |
target | The meta object to be called. | |
Результат |
public Call ( CallSignature signature, |
||
signature | CallSignature | The signature describing the call |
errorSuggestion | The result should the object be uncallable. | |
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | Overload resolver factory. |
target | The meta object to be called. | |
Результат |
public Call ( CallSignature signature, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
signature | CallSignature | The signature describing the call |
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | Overload resolver factory. |
target | The meta object to be called. | |
Результат |
public CallMethod ( |
||
resolver | Overload resolver. | |
targets | IList |
The methods to be called |
Результат |
public CallMethod ( |
||
resolver | Overload resolver. | |
targets | IList |
The methods to be called |
restrictions | Additional restrictions which should be applied to the resulting MetaObject. | |
Результат |
public CallMethod ( |
||
resolver | Overload resolver. | |
targets | IList |
The methods to be called |
restrictions | Additional restrictions which should be applied to the resulting MetaObject. | |
name | string | The name of the method or null to use the name from targets. |
Результат |
public CallMethod ( |
||
resolver | Overload resolver. | |
targets | IList |
The methods to be called |
restrictions | Additional restrictions which should be applied to the resulting MetaObject. | |
name | string | The name of the method or null to use the name from targets. |
minLevel | NarrowingLevel | TODO. |
maxLevel | NarrowingLevel | TODO. |
target | The resulting binding target which can be used for producing error information. | |
Результат |
public CallMethod ( |
||
resolver | Overload resolver. | |
targets | IList |
The methods to be called |
name | string | The name of the method or null to use the name from targets. |
Результат |
public CanConvertFrom ( |
||
fromType | ||
toType | ||
toNotNullable | bool | |
level | NarrowingLevel | |
Результат | bool |
public DefaultBinder ( ) : System.Linq.Expressions | ||
Результат | System.Linq.Expressions |
public DoOperation ( ExpressionType operation ) : |
||
operation | ExpressionType | |
Результат |
public DoOperation ( ExpressionType operation, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory ) : |
||
operation | ExpressionType | |
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
Результат |
public GetCallSignatures ( |
||
target | ||
Результат |
public GetDocumentation ( |
||
target | ||
Результат |
public GetIndex ( |
||
args | ||
Результат |
public GetIndex ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
args | ||
Результат |
public GetIsCallable ( |
||
target | ||
Результат |
public GetMember ( string name, |
||
name | string | /// The name of the member to retrieve. This name is not processed by the DefaultBinder and /// is instead handed off to the GetMember API which can do name mangling, case insensitive lookups, etc... /// |
target | /// The MetaObject from which the member is retrieved. /// | |
Результат |
public GetMember ( string name, |
||
name | string | /// The name of the member to retrieve. This name is not processed by the DefaultBinder and /// is instead handed off to the GetMember API which can do name mangling, case insensitive lookups, etc... /// |
target | /// The MetaObject from which the member is retrieved. /// | |
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | /// Provides overload resolution and method binding for any calls which need to be performed for the GetMember. /// |
Результат |
public GetMember ( string name, |
||
name | string | /// The name of the member to retrieve. This name is not processed by the DefaultBinder and /// is instead handed off to the GetMember API which can do name mangling, case insensitive lookups, etc... /// |
target | /// The MetaObject from which the member is retrieved. /// | |
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | /// An OverloadResolverFactory which can be used for performing overload resolution and method binding. /// |
isNoThrow | bool | /// True if the operation should return Operation.Failed on failure, false if it /// should return the exception produced by MakeMissingMemberError. /// |
errorSuggestion | /// The meta object to be used if the get results in an error. /// | |
Результат |
public GetMember ( string name, |
||
name | string | /// The name of the member to retrieve. This name is not processed by the DefaultBinder and /// is instead handed off to the GetMember API which can do name mangling, case insensitive lookups, etc... /// |
target | /// The MetaObject from which the member is retrieved. /// | |
isNoThrow | bool | /// True if the operation should return Operation.Failed on failure, false if it /// should return the exception produced by MakeMissingMemberError. /// |
errorSuggestion | /// The meta object to be used if the get results in an error. /// | |
Результат |
public GetMemberNames ( |
||
target | ||
Результат |
public GetMemberType ( MemberGroup members, Expression &error ) : TrackerTypes | ||
members | MemberGroup | |
error | Expression | |
Результат | TrackerTypes |
public GetMethod ( |
||
type | ||
name | string | |
Результат |
public static MakeError ( |
||
error | ||
restrictions | ||
type | ||
Результат |
public static MakeError ( |
||
error | ||
type | ||
Результат |
public MakeEventValidation ( MemberGroup members, |
||
members | MemberGroup | |
eventObject | ||
value | ||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
Результат |
public MakeNonPublicMemberGetError ( Microsoft.Scripting.Actions.Calls.OverloadResolverFactory resolverFactory, |
||
resolverFactory | Microsoft.Scripting.Actions.Calls.OverloadResolverFactory | |
member | ||
type | ||
instance | ||
Результат |
public MakeReadOnlyMemberError ( |
||
type | ||
name | string | |
Результат |
public MakeUndeletableMemberError ( Type type, string name ) : ErrorInfo | ||
type | Type | |
name | string | |
Результат | ErrorInfo |
public PreferConvert ( Type t1, Type t2 ) : Candidate | ||
t1 | Type | |
t2 | Type | |
Результат | Candidate |
public SetIndex ( DynamicMetaObject args ) : DynamicMetaObject | ||
args | DynamicMetaObject | |
Результат | DynamicMetaObject |
public SetIndex ( OverloadResolverFactory resolverFactory, DynamicMetaObject args ) : DynamicMetaObject | ||
resolverFactory | OverloadResolverFactory | |
args | DynamicMetaObject | |
Результат | DynamicMetaObject |