C# 클래스 Monobjc.Generators.CategoryGenerator

파일 보기 프로젝트 열기: Monobjc/monobjc 1 사용 예제들

공개 메소드들

메소드 설명
CategoryGenerator ( DynamicAssembly assembly, bool is64Bits ) : System
DefineCategoryProxy ( Type type, IEnumerable extensionMethods ) : Type

TODO: Doc

비공개 메소드들

메소드 설명
DefineDelegate ( TypeBuilder typeBuilder, MethodInfo methodInfo, ConstructorBuilder &constructorBuilder ) : Type

Defines an inner Delegate type for the method to be invoked from Objective-C runtime.

DefineProxyMethod ( TypeBuilder typeBuilder, MethodTuple methodTuple ) : MethodBuilder

Defines a proxy method that is called from Objective-C runtime. This method retrieves the targeted managed instance and passes the parameters.

EmitProxyMethodBodyForExtensionMethod ( ILGenerator generator, MethodTuple methodTuple, Type targetType, Type returnType, Type nativeReturnType, Type parameterTypes, Type nativeParameterTypes ) : void

메소드 상세

CategoryGenerator() 공개 메소드

public CategoryGenerator ( DynamicAssembly assembly, bool is64Bits ) : System
assembly DynamicAssembly
is64Bits bool
리턴 System

DefineCategoryProxy() 공개 메소드

TODO: Doc
public DefineCategoryProxy ( Type type, IEnumerable extensionMethods ) : Type
type System.Type
extensionMethods IEnumerable
리턴 System.Type