C# Class clojure.lang.GenProxy

显示文件 Open project: richhickey/clojure-clr

Public Methods

Method Description
GenerateProxyClass ( Type superclass, ISeq interfaces, string className ) : Type
SaveProxyContext ( ) : void

Private Methods

Method Description
AddIProxyMethods ( TypeBuilder proxyTB ) : FieldBuilder
AddInterfaceMethods ( TypeBuilder proxyTB, FieldBuilder mapField, Type superclass, HashSet allInterfaces, HashSet specialMethods ) : void
AddInterfaceProperties ( TypeBuilder proxyTB, Type superclass, HashSet allInterfaces, HashSet specialMethods ) : void
DefineCtor ( TypeBuilder proxyTB, ConstructorInfo ctor ) : void
DefineCtors ( TypeBuilder proxyTB, Type superclass ) : void
GenProxy ( string className ) : System
Generate ( Type superclass, ISeq interfaces, string className ) : Type
GenerateProxyMethod ( TypeBuilder proxyTB, FieldBuilder mapField, MethodInfo m, HashSet specialMethods ) : void
GetAllInterfaces ( ISeq interfaces ) : HashSet
GetAllInterfaces ( HashSet allInterfaces, Type type ) : void
GetIFnInvokeMethodInfo ( int numArgs ) : MethodInfo
GetObjectTypeArray ( int numArgs ) : System.Type[]
GetObjectTypeArrayWithParam ( int numArgs ) : System.Type[]

Method Details

GenerateProxyClass() public static method

public static GenerateProxyClass ( Type superclass, ISeq interfaces, string className ) : Type
superclass System.Type
interfaces ISeq
className string
return System.Type

SaveProxyContext() public method

public SaveProxyContext ( ) : void
return void