메소드 | 설명 | |
---|---|---|
CanConvertFrom ( Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter1, Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter2 ) : bool | ||
CanConvertFrom ( |
||
Convert ( |
||
GetActualArguments ( ) : Microsoft.Scripting.Actions.Calls.ActualArguments | ||
GetCollapsedArgsCondition ( ) : |
||
GetDynamicConversion ( |
||
GetGenericInferenceType ( |
||
MakeInvalidParametersError ( |
||
ParametersEquivalent ( Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter1, Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter2 ) : bool | ||
PreferConvert ( |
Provides ordering for two parameter types if there is no conversion between the two parameter types.
|
|
ResolveOverload ( string methodName, IList |
Resolves a method overload and returns back a BindingTarget. The BindingTarget can then be tested for the success or particular type of failure that prevents the method from being called. If successfully bound the BindingTarget contains a list of argument meta-objects with additional restrictions that ensure the selection of the particular overload.
|
|
ResolveOverload ( string methodName, IList |
||
SelectBestConversionFor ( |
Selects the best (of two) candidates for conversion from actualType
|
메소드 | 설명 | |
---|---|---|
AllowMemberInitialization ( |
Checks to see if the language allows named arguments to be bound to instance fields or properties and turned into setters. By default this is only allowed on contructors.
|
|
BindToUnexpandedParams ( |
Allow to bind an array/dictionary instance or a null reference to params array/dictionary parameter.
|
|
CompareEquivalentCandidates ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate one, Microsoft.Scripting.Actions.Calls.ApplicableCandidate two ) : Candidate | ||
CreateActualArguments ( IList |
Return null if arguments cannot be constructed and overload resolution should produce an error.
|
|
GetByRefArrayExpression ( |
Gets an expression that evaluates to the result of GetByRefArray operation.
|
|
GetNamedArguments ( IList |
||
GetSplattedExpression ( ) : |
||
GetSplattedItem ( int index ) : object | ||
OverloadResolver ( ActionBinder binder ) : System.Linq.Expressions |
메소드 | 설명 | |
---|---|---|
AddBasicMethodTargets ( |
||
AddFailure ( List |
||
AddSimpleTarget ( |
||
AddTarget ( |
||
AllowKeywordArgumentSetting ( |
||
BuildCandidateSets ( IEnumerable |
||
BuildExpandedTargetSet ( int count ) : Microsoft.Scripting.Actions.Calls.CandidateSet | ||
Compare ( int x, int y ) : int | ||
CompareEquivalentParameters ( |
||
EnsureMatchingNamedArgs ( List |
||
FindMaxPriority ( IList |
||
GetAccessedCollapsedArgTypes ( ) : System.Type[] | ||
GetCandidateSet ( ) : Microsoft.Scripting.Actions.Calls.CandidateSet | ||
GetCollapsedArgumentValue ( int collapsedArgIndex ) : object | ||
GetExpectedArgCounts ( ) : int[] | ||
GetPreferredCandidate ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate one, Microsoft.Scripting.Actions.Calls.ApplicableCandidate two, NarrowingLevel level ) : Candidate | ||
GetPreferredParameter ( Microsoft.Scripting.Actions.Calls.ParameterWrapper candidateOne, Microsoft.Scripting.Actions.Calls.ParameterWrapper candidateTwo, |
||
GetPreferredParameters ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate one, Microsoft.Scripting.Actions.Calls.ApplicableCandidate two, NarrowingLevel level ) : Candidate | ||
GetRestrictedArgs ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate selectedCandidate, IList |
||
GetSplatLimits ( int &preSplatLimit, int &postSplatLimit ) : void | ||
GetSplattedItemExpression ( |
The method is called each time an item of lazily splatted argument is needed.
|
|
GetTemporary ( |
||
IsBest ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate candidate, List |
||
IsOverloadedOnParameter ( int argIndex, int argCount, IList |
Determines whether given overloads are overloaded on index-th parameter (the types of the index-th parameters are the same).
|
|
IsUnsupported ( |
||
MakeAmbiguousBindingTarget ( List |
||
MakeAmbiguousCallError ( |
||
MakeBindingTarget ( Microsoft.Scripting.Actions.Calls.CandidateSet targetSet ) : |
||
MakeCallFailureError ( |
||
MakeFailedBindingTarget ( Microsoft.Scripting.Actions.Calls.CallFailure failures ) : |
||
MakeIncorrectArgumentCountError ( |
||
MakeInvalidArgumentsError ( ) : ErrorInfo | ||
MakeNoCallableMethodError ( ) : ErrorInfo | ||
MakeSuccessfulBindingTarget ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate result, List |
||
MapSpecialParameters ( |
||
RestrictArgument ( |
||
SelectBestCandidate ( List |
||
SelectCandidatesWithConvertibleArgs ( List |
||
SelectCandidatesWithConvertibleCollapsedArgs ( List |
||
ToString ( ) : string | ||
TryConvertArguments ( |
||
TryConvertCollapsedArguments ( |
protected AllowMemberInitialization ( |
||
method | ||
리턴 | bool |
protected BindToUnexpandedParams ( |
||
candidate | ||
리턴 | bool |
public CanConvertFrom ( Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter1, Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter2 ) : bool | ||
parameter1 | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
parameter2 | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
리턴 | bool |
public CanConvertFrom ( |
||
fromType | ||
fromArgument | ||
toParameter | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
level | NarrowingLevel | |
리턴 | bool |
protected CompareEquivalentCandidates ( Microsoft.Scripting.Actions.Calls.ApplicableCandidate one, Microsoft.Scripting.Actions.Calls.ApplicableCandidate two ) : Candidate | ||
one | Microsoft.Scripting.Actions.Calls.ApplicableCandidate | |
two | Microsoft.Scripting.Actions.Calls.ApplicableCandidate | |
리턴 | Candidate |
public Convert ( |
||
metaObject | ||
restrictedType | ||
info | ||
toType | ||
리턴 |
protected abstract CreateActualArguments ( IList |
||
namedArgs | IList |
|
argNames | IList |
|
preSplatLimit | int | |
postSplatLimit | int | |
리턴 | Microsoft.Scripting.Actions.Calls.ActualArguments |
public GetActualArguments ( ) : Microsoft.Scripting.Actions.Calls.ActualArguments | ||
리턴 | Microsoft.Scripting.Actions.Calls.ActualArguments |
protected GetByRefArrayExpression ( |
||
argumentArrayExpression | ||
리턴 |
public GetCollapsedArgsCondition ( ) : |
||
리턴 |
public GetDynamicConversion ( |
||
value | ||
type | ||
리턴 |
public GetGenericInferenceType ( |
||
dynamicObject | ||
리턴 |
protected GetNamedArguments ( IList |
||
namedArgs | IList |
|
argNames | IList |
|
리턴 | void |
protected abstract GetSplattedExpression ( ) : |
||
리턴 |
protected abstract GetSplattedItem ( int index ) : object | ||
index | int | |
리턴 | object |
public MakeInvalidParametersError ( |
||
target | ||
리턴 | ErrorInfo |
protected OverloadResolver ( ActionBinder binder ) : System.Linq.Expressions | ||
binder | ActionBinder | |
리턴 | System.Linq.Expressions |
public ParametersEquivalent ( Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter1, Microsoft.Scripting.Actions.Calls.ParameterWrapper parameter2 ) : bool | ||
parameter1 | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
parameter2 | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
리턴 | bool |
public PreferConvert ( |
||
t1 | ||
t2 | ||
리턴 | Candidate |
public ResolveOverload ( string methodName, IList |
||
methodName | string | |
methods | IList |
|
minLevel | NarrowingLevel | |
maxLevel | NarrowingLevel | |
리턴 |
public ResolveOverload ( string methodName, IList |
||
methodName | string | |
methods | IList |
|
minLevel | NarrowingLevel | |
maxLevel | NarrowingLevel | |
리턴 |
public SelectBestConversionFor ( |
||
arg | ||
candidateOne | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
candidateTwo | Microsoft.Scripting.Actions.Calls.ParameterWrapper | |
level | NarrowingLevel | |
리턴 | Candidate |