C# 클래스 IronRuby.Runtime.Calls.RubyBinder

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

공개 메소드들

메소드 설명
CanConvertFrom ( Type fromType, Type toType, bool toNotNullable, NarrowingLevel level ) : bool
ConvertExpression ( Expression expr, Type toType, ConversionResultKind kind, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory context ) : Expression
GetObjectTypeName ( object arg ) : string
GetTypeName ( Type t ) : string
PreferConvert ( Type t1, Type t2 ) : Candidate

비공개 메소드들

메소드 설명
DumpPrecompiledRule ( System.Runtime.CompilerServices.CallSiteBinder binder, MemberDispatcher dispatcher ) : void
DumpRule ( System.Runtime.CompilerServices.CallSiteBinder binder, BindingRestrictions restrictions, Expression expr ) : void
RubyBinder ( RubyContext context ) : System.Linq.Expressions
ToValues ( DynamicMetaObject args, int start ) : object[]

메소드 상세

CanConvertFrom() 공개 메소드

public CanConvertFrom ( Type fromType, Type toType, bool toNotNullable, NarrowingLevel level ) : bool
fromType System.Type
toType System.Type
toNotNullable bool
level NarrowingLevel
리턴 bool

ConvertExpression() 공개 메소드

public ConvertExpression ( Expression expr, Type toType, ConversionResultKind kind, Microsoft.Scripting.Actions.Calls.OverloadResolverFactory context ) : Expression
expr System.Linq.Expressions.Expression
toType System.Type
kind ConversionResultKind
context Microsoft.Scripting.Actions.Calls.OverloadResolverFactory
리턴 System.Linq.Expressions.Expression

GetObjectTypeName() 공개 메소드

public GetObjectTypeName ( object arg ) : string
arg object
리턴 string

GetTypeName() 공개 메소드

public GetTypeName ( Type t ) : string
t System.Type
리턴 string

PreferConvert() 공개 메소드

public PreferConvert ( Type t1, Type t2 ) : Candidate
t1 System.Type
t2 System.Type
리턴 Candidate