Class Module
Represents a WebAssembly module.
Inheritance
System.Object
Module
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public class Module : IDisposable
Properties
| Improve this Doc View SourceExports
The exports of the module.
Declaration
public Exports Exports { get; }
Property Value
Type | Description |
---|---|
Exports |
Imports
The imports of the module.
Declaration
public Imports Imports { get; }
Property Value
Type | Description |
---|---|
Imports |
Name
The name of the module.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Store
The Store associated with the module.
Declaration
public Store Store { get; }
Property Value
Type | Description |
---|---|
Store |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Instantiate(IHost)
Instantiates a WebAssembly module for the given host.
Declaration
public Instance Instantiate(IHost host)
Parameters
Type | Name | Description |
---|---|---|
IHost | host | The host to use for the WebAssembly module's instance. |
Returns
Type | Description |
---|---|
Instance | Returns a new Instance. |
Implements
System.IDisposable