Table of Contents

Class ObjectAllocatorChain

Namespace
Echo.Platforms.AsmResolver.Emulation.Invocation
Assembly
Echo.Platforms.AsmResolver.dll

Represents a chain of object allocators that are invoked in sequence until one of the allocators produces a conclusive result.

public class ObjectAllocatorChain : IObjectAllocator
Inheritance
ObjectAllocatorChain
Implements
Inherited Members
Extension Methods

Properties

Allocators

Gets the list of invokers to be called.

public IList<IObjectAllocator> Allocators { get; }

Property Value

IList<IObjectAllocator>

Methods

Allocate(CilExecutionContext, IMethodDescriptor, IList<BitVector>)

Allocates a new object with the provided constructor and arguments.

public AllocationResult Allocate(CilExecutionContext context, IMethodDescriptor ctor, IList<BitVector> arguments)

Parameters

context CilExecutionContext

The execution context the call originates from.

ctor IMethodDescriptor

The constructor to invoke after allocation.

arguments IList<BitVector>

The arguments to invoke the constructor with.

Returns

AllocationResult

The result