Class ObjectLayer
ORC JIT v2 Object linking layer
public class ObjectLayer : DisposableObject, IDisposable
- Inheritance
-
ObjectLayer
- Implements
- Derived
- Inherited Members
Remarks
Since instances of an Object Linking layer are ONLY ever created by ObjectLayerFactory and returned directly to the native code as the raw handle, they are not generally disposable. They do implement IDisposable as a means to ensure proper release in the face of an exception in an implementation of ObjectLayerFactory but are not something that generally needs disposal at a managed level.
Methods
- Add(JITDyLib, MemoryBuffer)
Adds an object file to the specified library
- Add(ResourceTracker, MemoryBuffer)
Adds an object file to the specified ResourceTracker
- Dispose(bool)
Abstract method that is implemented by derived types to perform the dispose operation
- Emit(MaterializationResponsibility, MemoryBuffer)
Emits an object buffer to the object layer