Class CompiledPlugin
A pre-compiled plugin ready to be instantiated.
public class CompiledPlugin : IDisposable
- Inheritance
-
CompiledPlugin
- Implements
- Inherited Members
Constructors
CompiledPlugin(Manifest, HostFunction[], bool)
Compile a plugin from a Manifest.
public CompiledPlugin(Manifest manifest, HostFunction[] functions, bool withWasi)
Parameters
manifest
Manifestfunctions
HostFunction[]withWasi
bool
Methods
CheckNotDisposed()
Throw an appropriate exception if the plugin has been disposed.
protected void CheckNotDisposed()
Exceptions
Dispose()
Frees all resources held by this Plugin.
public void Dispose()
Dispose(bool)
Frees all resources held by this Plugin.
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
~CompiledPlugin()
Destructs the current Plugin and frees all resources used by it.
protected ~CompiledPlugin()
Instantiate()
Instantiate a plugin from this compiled plugin.
public Plugin Instantiate()