C# Class IronRuby.Runtime.Calls.RubyBinder

Inheritance: DefaultBinder
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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[]

Method Details

CanConvertFrom() public method

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

ConvertExpression() public method

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
return System.Linq.Expressions.Expression

GetObjectTypeName() public method

public GetObjectTypeName ( object arg ) : string
arg object
return string

GetTypeName() public method

public GetTypeName ( Type t ) : string
t System.Type
return string

PreferConvert() public method

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