Table of Contents

Class CompiledPlugin

Namespace
Extism.Sdk
Assembly
Extism.Sdk.dll

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 Manifest
functions HostFunction[]
withWasi bool

Methods

CheckNotDisposed()

Throw an appropriate exception if the plugin has been disposed.

protected void CheckNotDisposed()

Exceptions

ObjectDisposedException

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()

Returns

Plugin