C# Class IronRuby.Runtime.Calls.RubyLibraryMethodInfo

Performs method binding for calling CLR methods. Currently this is used for all builtin libary methods and interop calls to CLR methods
Inheritance: RubyMethodGroupBase
Show file Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
BuildCallNoFlow void
GetDispatcher MemberDispatcher
RubyLibraryMethodInfo System.Linq.Expressions
RubyLibraryMethodInfo System.Linq.Expressions

Public Methods

Method Description
EmptyRubyMethodStub1 ( object self, Proc block, object arg0 ) : object
GetMembers ( ) : System.Reflection.MemberInfo[]
RubyLibraryMethodInfo ( LibraryOverload overloads, RubyMethodVisibility visibility, RubyModule declaringModule ) : System.Linq.Expressions

Protected Methods

Method Description
Copy ( OverloadInfo methods ) : IronRuby.Runtime.Calls.RubyMemberInfo
Copy ( RubyMemberFlags flags, RubyModule module ) : IronRuby.Runtime.Calls.RubyMemberInfo

Private Methods

Method Description
BuildCallNoFlow ( MetaObjectBuilder metaBuilder, CallArguments args, string name ) : void
GetDispatcher ( Type delegateType, RubyCallSignature signature, object target, int version ) : MemberDispatcher
RubyLibraryMethodInfo ( LibraryOverload overloads, RubyMemberFlags flags, RubyModule declaringModule ) : System.Linq.Expressions

Creates a Ruby method implemented by a method group of CLR methods.

RubyLibraryMethodInfo ( RubyLibraryMethodInfo info, OverloadInfo methods ) : System.Linq.Expressions

Method Details

Copy() protected method

protected Copy ( OverloadInfo methods ) : IronRuby.Runtime.Calls.RubyMemberInfo
methods Microsoft.Scripting.Actions.Calls.OverloadInfo
return IronRuby.Runtime.Calls.RubyMemberInfo

Copy() protected method

protected Copy ( RubyMemberFlags flags, RubyModule module ) : IronRuby.Runtime.Calls.RubyMemberInfo
flags RubyMemberFlags
module IronRuby.Builtins.RubyModule
return IronRuby.Runtime.Calls.RubyMemberInfo

EmptyRubyMethodStub1() public static method

public static EmptyRubyMethodStub1 ( object self, Proc block, object arg0 ) : object
self object
block IronRuby.Builtins.Proc
arg0 object
return object

GetMembers() public method

public GetMembers ( ) : System.Reflection.MemberInfo[]
return System.Reflection.MemberInfo[]

RubyLibraryMethodInfo() public method

public RubyLibraryMethodInfo ( LibraryOverload overloads, RubyMethodVisibility visibility, RubyModule declaringModule ) : System.Linq.Expressions
overloads LibraryOverload
visibility RubyMethodVisibility
declaringModule IronRuby.Builtins.RubyModule
return System.Linq.Expressions