C# 클래스 IronPython.Runtime.Binding.Binders

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
BinaryOperationBinder ( PythonContext state, PythonOperationKind operatorName ) : DynamicMetaObjectBinder
Convert ( Expression codeContext, PythonContext binder, Type type, ConversionResultKind resultKind, Expression target ) : Expression

Backwards compatible Convert for the old sites that need to flow CodeContext

Get ( Expression codeContext, PythonContext binder, Type resultType, string name, Expression target ) : Expression
InvokeKeywords ( PythonContext state ) : IronPython.Runtime.Binding.PythonInvokeBinder

Creates a new InvokeBinder which will call with positional and keyword splatting. The signature of the target site should be object(function), object[], dictionary, retType

InvokeSplat ( PythonContext state ) : IronPython.Runtime.Binding.PythonInvokeBinder

Creates a new InvokeBinder which will call with positional splatting. The signature of the target site should be object(function), object[], retType

TryGet ( Expression codeContext, PythonContext binder, Type resultType, string name, Expression target ) : Expression
UnaryOperationBinder ( PythonContext state, PythonOperationKind operatorName ) : DynamicMetaObjectBinder

비공개 메소드들

메소드 설명
GetExpressionTypeFromBinaryOperator ( PythonOperationKind operatorName ) : ExpressionType?
GetExpressionTypeFromUnaryOperator ( PythonOperationKind operatorName ) : ExpressionType?

메소드 상세

BinaryOperationBinder() 공개 정적인 메소드

public static BinaryOperationBinder ( PythonContext state, PythonOperationKind operatorName ) : DynamicMetaObjectBinder
state PythonContext
operatorName PythonOperationKind
리턴 System.Dynamic.DynamicMetaObjectBinder

Convert() 공개 정적인 메소드

Backwards compatible Convert for the old sites that need to flow CodeContext
public static Convert ( Expression codeContext, PythonContext binder, Type type, ConversionResultKind resultKind, Expression target ) : Expression
codeContext Expression
binder PythonContext
type System.Type
resultKind ConversionResultKind
target Expression
리턴 Expression

Get() 공개 정적인 메소드

public static Get ( Expression codeContext, PythonContext binder, Type resultType, string name, Expression target ) : Expression
codeContext Expression
binder PythonContext
resultType System.Type
name string
target Expression
리턴 Expression

InvokeKeywords() 공개 정적인 메소드

Creates a new InvokeBinder which will call with positional and keyword splatting. The signature of the target site should be object(function), object[], dictionary, retType
public static InvokeKeywords ( PythonContext state ) : IronPython.Runtime.Binding.PythonInvokeBinder
state PythonContext
리턴 IronPython.Runtime.Binding.PythonInvokeBinder

InvokeSplat() 공개 정적인 메소드

Creates a new InvokeBinder which will call with positional splatting. The signature of the target site should be object(function), object[], retType
public static InvokeSplat ( PythonContext state ) : IronPython.Runtime.Binding.PythonInvokeBinder
state PythonContext
리턴 IronPython.Runtime.Binding.PythonInvokeBinder

TryGet() 공개 정적인 메소드

public static TryGet ( Expression codeContext, PythonContext binder, Type resultType, string name, Expression target ) : Expression
codeContext Expression
binder PythonContext
resultType System.Type
name string
target Expression
리턴 Expression

UnaryOperationBinder() 공개 정적인 메소드

public static UnaryOperationBinder ( PythonContext state, PythonOperationKind operatorName ) : DynamicMetaObjectBinder
state PythonContext
operatorName PythonOperationKind
리턴 System.Dynamic.DynamicMetaObjectBinder