C# Class IronRuby.Runtime.Conversions.GenericConversionAction

Inheritance: RubyConversionAction
显示文件 Open project: jschementi/iron

Public Methods

Method Description
CreateExpression ( ) : Expression

Protected Methods

Method Description
Build ( MetaObjectBuilder metaBuilder, CallArguments args, bool defaultFallback ) : bool
GetInteropBinder ( RubyContext context, IList args, MethodInfo &postProcessor ) : DynamicMetaObjectBinder

Private Methods

Method Description
BuildConversion ( MetaObjectBuilder metaBuilder, DynamicMetaObject target, Expression contextExpression, Type toType, bool defaultFallback ) : bool
GenericConversionAction ( RubyContext context, Type type ) : System.Linq.Expressions
MakeShared ( Type type ) : GenericConversionAction
TryImplicitConversion ( DynamicMetaObject target, Type toType ) : Expression

Method Details

Build() protected method

protected Build ( MetaObjectBuilder metaBuilder, CallArguments args, bool defaultFallback ) : bool
metaBuilder IronRuby.Runtime.Calls.MetaObjectBuilder
args IronRuby.Runtime.Calls.CallArguments
defaultFallback bool
return bool

CreateExpression() public method

public CreateExpression ( ) : Expression
return Expression

GetInteropBinder() protected method

protected GetInteropBinder ( RubyContext context, IList args, MethodInfo &postProcessor ) : DynamicMetaObjectBinder
context RubyContext
args IList
postProcessor System.Reflection.MethodInfo
return System.Dynamic.DynamicMetaObjectBinder