C# 클래스 System.Dynamic.DynamicObject.MetaDynamic

상속: DynamicMetaObject
파일 보기 프로젝트 열기: jschementi/iron

Private Properties

프로퍼티 타입 설명
BuildCallArgs System.Linq.Expressions.Expression[]
BuildCallMethodWithResult DynamicMetaObject
CallMethodNoResult DynamicMetaObject
CallMethodReturnLast DynamicMetaObject
CallMethodWithResult DynamicMetaObject
CallMethodWithResult DynamicMetaObject
Constant System.Linq.Expressions.ConstantExpression
GetConvertedArgs System.Linq.Expressions.Expression[]
GetLimitedSelf System.Linq.Expressions.Expression
GetRestrictions BindingRestrictions
IsOverridden bool
MetaDynamic Microsoft.Scripting.Ast
ReferenceArgAssign System.Linq.Expressions.Expression

공개 메소드들

메소드 설명
BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
BindConvert ( ConvertBinder binder ) : DynamicMetaObject
BindCreateInstance ( CreateInstanceBinder binder, DynamicMetaObject args ) : DynamicMetaObject
BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindDeleteMember ( DeleteMemberBinder binder ) : DynamicMetaObject
BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject
BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject
BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject
BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject
BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable

비공개 메소드들

메소드 설명
BuildCallArgs ( DynamicMetaObjectBinder binder, Expression parameters, Expression arg0, Expression arg1 ) : System.Linq.Expressions.Expression[]

Helper method for generating arguments for calling methods on DynamicObject. parameters is either a list of ParameterExpressions to be passed to the method as an object[], or NoArgs to signify that the target method takes no object[] parameter.

BuildCallMethodWithResult ( string methodName, DynamicMetaObjectBinder binder, Expression args, DynamicMetaObject fallbackResult, Fallback fallbackInvoke ) : DynamicMetaObject

Helper method for generating a MetaObject which calls a specific method on DynamicObject that returns a result. args is either an array of arguments to be passed to the method as an object[] or NoArgs to signify that the target method takes no parameters.

CallMethodNoResult ( string methodName, DynamicMetaObjectBinder binder, Expression args, Fallback fallback ) : DynamicMetaObject

Helper method for generating a MetaObject which calls a specific method on Dynamic, but uses one of the arguments for the result. args is either an array of arguments to be passed to the method as an object[] or NoArgs to signify that the target method takes no parameters.

CallMethodReturnLast ( string methodName, DynamicMetaObjectBinder binder, Expression args, Expression value, Fallback fallback ) : DynamicMetaObject

Helper method for generating a MetaObject which calls a specific method on Dynamic, but uses one of the arguments for the result. args is either an array of arguments to be passed to the method as an object[] or NoArgs to signify that the target method takes no parameters.

CallMethodWithResult ( string methodName, DynamicMetaObjectBinder binder, Expression args, Fallback fallback ) : DynamicMetaObject

Helper method for generating a MetaObject which calls a specific method on Dynamic that returns a result

CallMethodWithResult ( string methodName, DynamicMetaObjectBinder binder, Expression args, Fallback fallback, Fallback fallbackInvoke ) : DynamicMetaObject

Helper method for generating a MetaObject which calls a specific method on Dynamic that returns a result

Constant ( DynamicMetaObjectBinder binder ) : ConstantExpression
GetConvertedArgs ( ) : System.Linq.Expressions.Expression[]
GetLimitedSelf ( ) : Expression

Returns our Expression converted to DynamicObject

GetRestrictions ( ) : BindingRestrictions

Returns a Restrictions object which includes our current restrictions merged with a restriction limiting our type

IsOverridden ( string method ) : bool

Checks if the derived type has overridden the specified method. If there is no implementation for the method provided then Dynamic falls back to the base class behavior which lets the call site determine how the binder is performed.

MetaDynamic ( Expression expression, DynamicObject value ) : Microsoft.Scripting.Ast
ReferenceArgAssign ( Expression callArgs, Expression args ) : Expression

Helper method for generating expressions that assign byRef call parameters back to their original variables

메소드 상세

BindBinaryOperation() 공개 메소드

public BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
binder BinaryOperationBinder
arg DynamicMetaObject
리턴 DynamicMetaObject

BindConvert() 공개 메소드

public BindConvert ( ConvertBinder binder ) : DynamicMetaObject
binder ConvertBinder
리턴 DynamicMetaObject

BindCreateInstance() 공개 메소드

public BindCreateInstance ( CreateInstanceBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder CreateInstanceBinder
args DynamicMetaObject
리턴 DynamicMetaObject

BindDeleteIndex() 공개 메소드

public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder
indexes DynamicMetaObject
리턴 DynamicMetaObject

BindDeleteMember() 공개 메소드

public BindDeleteMember ( DeleteMemberBinder binder ) : DynamicMetaObject
binder DeleteMemberBinder
리턴 DynamicMetaObject

BindGetIndex() 공개 메소드

public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder GetIndexBinder
indexes DynamicMetaObject
리턴 DynamicMetaObject

BindGetMember() 공개 메소드

public BindGetMember ( GetMemberBinder binder ) : DynamicMetaObject
binder GetMemberBinder
리턴 DynamicMetaObject

BindInvoke() 공개 메소드

public BindInvoke ( InvokeBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder InvokeBinder
args DynamicMetaObject
리턴 DynamicMetaObject

BindInvokeMember() 공개 메소드

public BindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject args ) : DynamicMetaObject
binder InvokeMemberBinder
args DynamicMetaObject
리턴 DynamicMetaObject

BindSetIndex() 공개 메소드

public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder
indexes DynamicMetaObject
value DynamicMetaObject
리턴 DynamicMetaObject

BindSetMember() 공개 메소드

public BindSetMember ( SetMemberBinder binder, DynamicMetaObject value ) : DynamicMetaObject
binder SetMemberBinder
value DynamicMetaObject
리턴 DynamicMetaObject

BindUnaryOperation() 공개 메소드

public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
binder UnaryOperationBinder
리턴 DynamicMetaObject

GetDynamicMemberNames() 공개 메소드

public GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
리턴 System.Collections.Generic.IEnumerable