Class Instance
Represents an instantiated WebAssembly module.
Inheritance
System.Object
System.Dynamic.DynamicObject
Instance
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable
Inherited Members
System.Dynamic.DynamicObject.GetDynamicMemberNames()
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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 Instance : DynamicObject, IDynamicMetaObjectProvider, IDisposable
Properties
| Improve this Doc View SourceExterns
The external (instantiated) collection of functions, globals, tables, and memories.
Declaration
public Externs Externs { get; }
Property Value
Type | Description |
---|---|
Externs |
Host
The host associated with this instance.
Declaration
public IHost Host { get; }
Property Value
Type | Description |
---|---|
IHost |
Module
The WebAssembly module associated with the instantiation.
Declaration
public Module Module { get; }
Property Value
Type | Description |
---|---|
Module |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
TryGetMember(GetMemberBinder, out Object)
Declaration
public override bool TryGetMember(GetMemberBinder binder, out object result)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.GetMemberBinder | binder | |
System.Object | result |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TryGetMember(System.Dynamic.GetMemberBinder, System.Object)
|
Improve this Doc
View Source
TryInvokeMember(InvokeMemberBinder, Object[], out Object)
Declaration
public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.InvokeMemberBinder | binder | |
System.Object[] | args | |
System.Object | result |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TryInvokeMember(System.Dynamic.InvokeMemberBinder, System.Object[], System.Object)
|
Improve this Doc
View Source
TrySetMember(SetMemberBinder, Object)
Declaration
public override bool TrySetMember(SetMemberBinder binder, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.SetMemberBinder | binder | |
System.Object | value |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TrySetMember(System.Dynamic.SetMemberBinder, System.Object)
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable