C# Класс IronPython.Modules.CTypes._CFuncPtr.Meta.ArgumentMarshaller

Base class for marshalling arguments from the user provided value to the call stub. This class provides the logic for creating the call stub and calling it.
Показать файл Открыть проект

Открытые методы

Метод Описание
ArgumentMarshaller ( Expression container ) : System.Linq.Expressions
EmitCallStubArgument ( ILGenerator generator, int argIndex, List constantPool, int constantPoolArgument ) : IronPython.Modules.MarshalCleanup

Emits the IL to get the argument for the call stub generated into a dynamic method.

GetKeepAlive ( ) : Expression

Gets an expression which keeps alive the argument for the duration of the call. Returns null if a keep alive is not necessary.

GetRestrictions ( ) : BindingRestrictions

Описание методов

ArgumentMarshaller() публичный Метод

public ArgumentMarshaller ( Expression container ) : System.Linq.Expressions
container Expression
Результат System.Linq.Expressions

EmitCallStubArgument() публичный абстрактный Метод

Emits the IL to get the argument for the call stub generated into a dynamic method.
public abstract EmitCallStubArgument ( ILGenerator generator, int argIndex, List constantPool, int constantPoolArgument ) : IronPython.Modules.MarshalCleanup
generator System.Reflection.Emit.ILGenerator
argIndex int
constantPool List
constantPoolArgument int
Результат IronPython.Modules.MarshalCleanup

GetKeepAlive() публичный Метод

Gets an expression which keeps alive the argument for the duration of the call. Returns null if a keep alive is not necessary.
public GetKeepAlive ( ) : Expression
Результат Expression

GetRestrictions() публичный Метод

public GetRestrictions ( ) : BindingRestrictions
Результат BindingRestrictions