Show / Hide Table of Contents

Class Store

Represents the Wasmtime store.

Inheritance
System.Object
Store
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 sealed class Store : IDisposable

Methods

| Improve this Doc View Source

CreateModule(String)

Create a Module given the path to the WebAssembly file.

Declaration
public Module CreateModule(string path)
Parameters
Type Name Description
System.String path

The path to the WebAssembly file.

Returns
Type Description
Module

Returns a new Module.

| Improve this Doc View Source

CreateModule(String, Byte[])

Create a Module given the module name and bytes.

Declaration
public Module CreateModule(string name, byte[] bytes)
Parameters
Type Name Description
System.String name

The name of the module.

System.Byte[] bytes

The bytes of the module.

Returns
Type Description
Module

Retuw Module.

| Improve this Doc View Source

CreateModule(String, String)

Create a Module given the module name and path to the WebAssembly file.

Declaration
public Module CreateModule(string name, string path)
Parameters
Type Name Description
System.String name

The name of the module.

System.String path

The path to the WebAssembly file.

Returns
Type Description
Module

Returns a new Module.

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX