C# Class Monobjc.Generators.CategoryGenerator

Afficher le fichier Open project: Monobjc/monobjc Class Usage Examples

Méthodes publiques

Méthode Description
CategoryGenerator ( DynamicAssembly assembly, bool is64Bits ) : System
DefineCategoryProxy ( Type type, IEnumerable extensionMethods ) : Type

TODO: Doc

Private Methods

Méthode Description
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

Method Details

CategoryGenerator() public méthode

public CategoryGenerator ( DynamicAssembly assembly, bool is64Bits ) : System
assembly DynamicAssembly
is64Bits bool
Résultat System

DefineCategoryProxy() public méthode

TODO: Doc
public DefineCategoryProxy ( Type type, IEnumerable extensionMethods ) : Type
type System.Type
extensionMethods IEnumerable
Résultat System.Type